Skip to content

Commit 1b16cc0

Browse files
committed
try no boolean
1 parent 241317a commit 1b16cc0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

build/postgres-operator/install-extensions.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@ if [[ -n $STORAGE_ENDPOINT ]]; then
1616
args+=(-endpoint "$STORAGE_ENDPOINT")
1717
fi
1818

19-
# Checking the STORAGE_DISABLE_SSL env for backwards compatibility before 2.8.0
20-
if [[ -n $STORAGE_DISABLE_SSL ]]; then
21-
args+=(-disable-ssl "$STORAGE_DISABLE_SSL")
19+
if [[ "${STORAGE_DISABLE_SSL}" == "true" ]]; then
20+
args+=(-disable-ssl)
2221
fi
2322

24-
# Checking the STORAGE_FORCE_PATH_STYLE env for backwards compatibility before 2.8.0
25-
if [[ -n $STORAGE_FORCE_PATH_STYLE ]]; then
26-
args+=(-force-path-style "$STORAGE_FORCE_PATH_STYLE")
23+
if [[ "${STORAGE_FORCE_PATH_STYLE}" == "true" ]]; then
24+
args+=(-force-path-style)
2725
fi
2826

2927
for key in "${extensions[@]}"; do

0 commit comments

Comments
 (0)