fix func calls after master merge
This commit is contained in:
parent
4479f73995
commit
4542666e25
|
@ -33,7 +33,7 @@ type azureClientSet struct {
|
|||
}
|
||||
|
||||
func New(c Config, say func(string)) (AzureClientSet, error) {
|
||||
token, err := c.GetServicePrincipalToken(say, c.CloudEnvironment.ResourceManagerEndpoint)
|
||||
token, err := c.GetServicePrincipalToken(say, c.CloudEnvironment().ResourceManagerEndpoint)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
@ -207,12 +207,12 @@ func (c Config) GetServicePrincipalTokens(say func(string)) (
|
|||
err error) {
|
||||
|
||||
servicePrincipalToken, err = c.GetServicePrincipalToken(say,
|
||||
c.CloudEnvironment.ResourceManagerEndpoint)
|
||||
c.CloudEnvironment().ResourceManagerEndpoint)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
servicePrincipalTokenVault, err = c.GetServicePrincipalToken(say,
|
||||
strings.TrimRight(c.CloudEnvironment.KeyVaultEndpoint, "/"))
|
||||
strings.TrimRight(c.CloudEnvironment().KeyVaultEndpoint, "/"))
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue