mirror of
https://github.com/versity/versitygw.git
synced 2026-01-07 12:15:18 +00:00
13 lines
299 B
Bash
13 lines
299 B
Bash
#!/usr/bin/env bash
|
|
|
|
setup_two_buckets() {
|
|
setup_bucket "$BUCKET_ONE_NAME" || local setup_result_one=$?
|
|
if [[ $setup_result_one -eq 0 ]]; then
|
|
return 1
|
|
fi
|
|
setup_bucket "$BUCKET_TWO_NAME" || local setup_result_two=$?
|
|
if [[ $setup_result_two -eq 0 ]]; then
|
|
return 1
|
|
fi
|
|
return 0
|
|
} |