We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3828a9a commit 98438a5Copy full SHA for 98438a5
entrypoint.sh
@@ -7,6 +7,6 @@ if [[ "$MINIO_INSECURE" == "true" ]]; then
7
insecure_option="--insecure"
8
fi
9
10
-mc alias set "$insecure_option" deploy "$MINIO_ENDPOINT" "$MINIO_ACCESS_KEY" "$MINIO_SECRET_KEY"
+mc alias set ${insecure_option:+"$insecure_option"} deploy "$MINIO_ENDPOINT" "$MINIO_ACCESS_KEY" "$MINIO_SECRET_KEY"
11
12
-mc mirror --overwrite "$insecure_option" $1 "deploy/$2"
+mc mirror --overwrite ${insecure_option:+"$insecure_option"} $1 "deploy/$2"
0 commit comments