Fix env name of oauth2 endpoint

This commit is contained in:
MaxJa4 2023-08-23 20:01:57 +02:00
parent 7ddeb992e7
commit 0e46fc3b6f
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ type Config struct {
AzureStoragePath string `split_words:"true"` AzureStoragePath string `split_words:"true"`
AzureStorageEndpoint string `split_words:"true" default:"https://{{ .AccountName }}.blob.core.windows.net/"` AzureStorageEndpoint string `split_words:"true" default:"https://{{ .AccountName }}.blob.core.windows.net/"`
DropboxEndpoint string `split_words:"true" default:"https://api.dropbox.com/"` 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"` DropboxRefreshToken string `split_words:"true"`
DropboxAppKey string `split_words:"true"` DropboxAppKey string `split_words:"true"`
DropboxAppSecret string `split_words:"true"` DropboxAppSecret string `split_words:"true"`

View File

@ -13,7 +13,7 @@ logs=$(docker compose exec -T backup backup)
sleep 5 sleep 5
expect_running_containers "3" expect_running_containers "4"
echo "$logs" echo "$logs"
if echo "$logs" | grep -q "ERROR"; then if echo "$logs" | grep -q "ERROR"; then