From 31622a139289bdbae0b10cef420d485a324d0b6e Mon Sep 17 00:00:00 2001 From: VioletHynes Date: Tue, 13 Feb 2024 08:48:43 -0500 Subject: [PATCH] VAULT-528 Improve comment --- dependency/vault_read.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependency/vault_read.go b/dependency/vault_read.go index eb77a32e2..02b8db8d4 100644 --- a/dependency/vault_read.go +++ b/dependency/vault_read.go @@ -178,7 +178,7 @@ func deletedKVv2(s *api.Secret) bool { case map[string]interface{}: deletionTime, ok := md["deletion_time"].(string) if !ok { - // Not a string, end early + // Key not present or not a string, end early return false } t, err := time.Parse(time.RFC3339, deletionTime)