diff --git a/cmd/backup/config.go b/cmd/backup/config.go index eaba4cd..b7ea5d1 100644 --- a/cmd/backup/config.go +++ b/cmd/backup/config.go @@ -72,7 +72,7 @@ type Config struct { AzureStoragePath string `split_words:"true"` AzureStorageEndpoint string `split_words:"true" default:"https://{{ .AccountName }}.blob.core.windows.net/"` DropboxEndpoint string `split_words:"true" default:"https://api.dropbox.com/"` - DropboxOAuth2Endpoint string `split_words:"true" default:"https://api.dropbox.com/"` + DropboxOAuth2Endpoint string `envconfig:"DROPBOX_OAUTH2_ENDPOINT" default:"https://api.dropbox.com/"` DropboxRefreshToken string `split_words:"true"` DropboxAppKey string `split_words:"true"` DropboxAppSecret string `split_words:"true"` diff --git a/test/dropbox/run.sh b/test/dropbox/run.sh index a2678ae..e581c12 100644 --- a/test/dropbox/run.sh +++ b/test/dropbox/run.sh @@ -13,7 +13,7 @@ logs=$(docker compose exec -T backup backup) sleep 5 -expect_running_containers "3" +expect_running_containers "4" echo "$logs" if echo "$logs" | grep -q "ERROR"; then