Skip to content

Commit

Permalink
VAULT-528 Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
VioletHynes committed Feb 13, 2024
1 parent 34ba1bd commit 31622a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dependency/vault_read.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 31622a1

Please sign in to comment.