From e9142f418a3321a97fef52ba8dc520d122082e66 Mon Sep 17 00:00:00 2001 From: vishalnayak Date: Wed, 28 Sep 2016 18:17:13 -0400 Subject: [PATCH] Added todo to remind removal of upgrade code --- builtin/credential/approle/validation.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/credential/approle/validation.go b/builtin/credential/approle/validation.go index ec49c5601..133082da2 100644 --- a/builtin/credential/approle/validation.go +++ b/builtin/credential/approle/validation.go @@ -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 ||