Skip to content

Commit 0c7490b

Browse files
committed
fix(minio): fix not bucket error
1 parent ff82dfd commit 0c7490b

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

rootfs/bin/create_bucket

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22

3+
set -e
4+
35
# shellcheck disable=SC1091
46
source /bin/normalize_storage
57
has_bucket=$(mc ls minio -json|jq -r '.key'|grep -w "${MINIO_BUCKET}")

rootfs/docker-entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
22

3+
set -e
4+
35
/bin/create_bucket
46
exec "$@"

0 commit comments

Comments
 (0)