Fix a linter warning.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2021-03-04 16:16:03 -06:00
parent d24cf4b8a7
commit 6a8f377781
No known key found for this signature in database
GPG Key ID: EAE88AD172C5AE2D

View File

@ -251,7 +251,6 @@ func configureConcierge(credentialIssuer *configv1alpha1.CredentialIssuer, authe
// Autodiscover the --concierge-mode. // Autodiscover the --concierge-mode.
if flags.concierge.mode == modeUnknown { //nolint:nestif if flags.concierge.mode == modeUnknown { //nolint:nestif
strategyLoop: strategyLoop:
for _, strategy := range credentialIssuer.Status.Strategies { for _, strategy := range credentialIssuer.Status.Strategies {
if strategy.Status != configv1alpha1.SuccessStrategyStatus || strategy.Frontend == nil { if strategy.Status != configv1alpha1.SuccessStrategyStatus || strategy.Frontend == nil {