File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -264,6 +264,7 @@ func (k *KMIPSecretStorage) GetSecret(
264
264
265
265
lookfor := KMIPUniqueID // Addition to upgrade
266
266
var activeKeyID string
267
+ util .KubeCheck (k .secret )
267
268
if strings .HasSuffix (secretID , "-root-master-key-backend" ) {
268
269
lookfor = NewKMIPUniqueID
269
270
exists := false
@@ -415,9 +416,10 @@ func (k *KMIPSecretStorage) DeleteSecret(
415
416
lookfor = NewKMIPUniqueID
416
417
}
417
418
// Find the key ID
419
+ util .KubeCheck (k .secret )
418
420
uniqueIdentifier , exists := k .secret .StringData [lookfor ]
419
421
if ! exists {
420
- log .Errorf ("KMIPSecretStorage.DeleteSecret() No uniqueIdentifier in the secret" )
422
+ log .Errorf ("KMIPSecretStorage.DeleteSecret() No uniqueIdentifier %v in the secret %v" , lookfor , k . secret . Name )
421
423
return secrets .ErrInvalidSecretId
422
424
}
423
425
You can’t perform that action at this time.
0 commit comments