Skip to content

Commit 95a366b

Browse files
committed
fix: redundant keygroup append
Signed-off-by: Alessandro De Blasis <[email protected]>
1 parent 158746f commit 95a366b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

config/config.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,6 @@ func getKeyGroupsFromCreationRule(cRule *creationRule, kmsEncryptionContext map[
267267
}
268268
}
269269
}
270-
for _, k := range ocikms.MasterKeysFromOCIDString(cRule.OCIKMS) {
271-
keyGroup = append(keyGroup, k)
272-
}
273270
for _, k := range pgp.MasterKeysFromFingerprintString(cRule.PGP) {
274271
keyGroup = append(keyGroup, k)
275272
}

0 commit comments

Comments
 (0)