mirror of
https://github.com/versity/versitygw.git
synced 2026-08-24 16:16:38 +00:00
test: s3 fix
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ source_config_file() {
|
||||
if [ -r tests/.env ]; then
|
||||
source tests/.env
|
||||
else
|
||||
echo "Warning: no .env file found in tests folder" > /dev/stderr
|
||||
echo "Warning: no .env file found in tests folder" >&2
|
||||
fi
|
||||
else
|
||||
# shellcheck source=./tests/.env.default
|
||||
|
||||
+1
-1
@@ -218,7 +218,7 @@ run_versity_app() {
|
||||
if [[ $IAM_TYPE != "s3" ]]; then
|
||||
return 0
|
||||
fi
|
||||
if bucket_exists "$USERS_BUCKET"; then
|
||||
if bucket_exists "$USERS_BUCKET" >/dev/null; then
|
||||
return 0
|
||||
fi
|
||||
if ! create_bucket "s3api" "$USERS_BUCKET"; then
|
||||
|
||||
Reference in New Issue
Block a user