Fix a linter warning.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
parent
d24cf4b8a7
commit
6a8f377781
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user