azure: tweak documentation for endpoint suffix

This commit is contained in:
Michael Eischer
2023-07-07 23:09:44 +02:00
parent 068b115abc
commit e36d17a6f8
4 changed files with 11 additions and 6 deletions

View File

@@ -72,7 +72,8 @@ func (cfg *Config) ApplyEnvironment(prefix string) {
if cfg.AccountSAS.String() == "" {
cfg.AccountSAS = options.NewSecretString(os.Getenv(prefix + "AZURE_ACCOUNT_SAS"))
}
if cfg.EndpointSuffix == "" {
cfg.EndpointSuffix = os.Getenv("AZURE_ENDPOINT_SUFFIX")
cfg.EndpointSuffix = os.Getenv(prefix + "AZURE_ENDPOINT_SUFFIX")
}
}