Skip to content

Commit

Permalink
Rename NUTANIX_ALLOW_INSECURE to NUTANIX_INSECURE (#1155)
Browse files Browse the repository at this point in the history
Signed-off-by: Marko Mudrinić <[email protected]>
  • Loading branch information
xmudrii authored Jan 12, 2022
1 parent bbe21e9 commit af811e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloudprovider/provider/nutanix/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (p *provider) getConfig(s v1alpha1.ProviderSpec) (*Config, *providerconfigt
return nil, nil, nil, err
}

c.AllowInsecure, err = p.configVarResolver.GetConfigVarBoolValueOrEnv(rawConfig.AllowInsecure, "NUTANIX_ALLOW_INSECURE")
c.AllowInsecure, err = p.configVarResolver.GetConfigVarBoolValueOrEnv(rawConfig.AllowInsecure, "NUTANIX_INSECURE")
if err != nil {
return nil, nil, nil, err
}
Expand Down

0 comments on commit af811e3

Please sign in to comment.