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(
264264
265265 lookfor := KMIPUniqueID // Addition to upgrade
266266 var activeKeyID string
267+ util .KubeCheck (k .secret )
267268 if strings .HasSuffix (secretID , "-root-master-key-backend" ) {
268269 lookfor = NewKMIPUniqueID
269270 exists := false
@@ -415,9 +416,10 @@ func (k *KMIPSecretStorage) DeleteSecret(
415416 lookfor = NewKMIPUniqueID
416417 }
417418 // Find the key ID
419+ util .KubeCheck (k .secret )
418420 uniqueIdentifier , exists := k .secret .StringData [lookfor ]
419421 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 )
421423 return secrets .ErrInvalidSecretId
422424 }
423425
You can’t perform that action at this time.
0 commit comments