Added todo to remind removal of upgrade code

This commit is contained in:
vishalnayak 2016-09-28 18:17:13 -04:00
parent 21d9731286
commit e9142f418a

View file

@ -363,6 +363,7 @@ func (b *backend) nonLockedSecretIDStorageEntry(s logical.Storage, roleNameHMAC,
return nil, err
}
// TODO: Remove this upgrade bit in future releases
persistNeeded := false
if result.SecretIDNumUsesDeprecated != 0 {
if result.SecretIDNumUses == 0 ||