mirror of
https://github.com/offen/docker-volume-backup.git
synced 2026-01-02 14:02:15 +01:00
Set up automated testing for Azure Storage
This commit is contained in:
@@ -66,7 +66,7 @@ type Config struct {
|
||||
AzureStorageAccountName string `split_words:"true"`
|
||||
AzureStoragePrimaryAccountKey string `split_words:"true"`
|
||||
AzureStorageContainerName string `split_words:"true"`
|
||||
AzureStorageEndpoint string `split_words:"true" default:""https://%s.blob.core.windows.net/""`
|
||||
AzureStorageEndpoint string `split_words:"true" default:"https://%s.blob.core.windows.net/"`
|
||||
}
|
||||
|
||||
func (c *Config) resolveSecret(envVar string, secretPath string) (string, error) {
|
||||
|
||||
@@ -196,6 +196,7 @@ func newScript() (*script, error) {
|
||||
ContainerName: s.c.AzureStorageContainerName,
|
||||
AccountName: s.c.AzureStorageAccountName,
|
||||
PrimaryAccountKey: s.c.AzureStoragePrimaryAccountKey,
|
||||
Endpoint: s.c.AzureStorageEndpoint,
|
||||
}
|
||||
azureBackend, err := azure.NewStorageBackend(azureConfig, logFunc)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user