mirror of
https://github.com/restic/restic.git
synced 2025-08-20 13:27:31 +00:00
azure: tweak documentation for endpoint suffix
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user