Skip to content

Commit b75908f

Browse files
committed
fix(ct): correct typo in ADMIN_API_UNBLOCK_KEY assignment in apply-db-settings.sh
Fixes variable assignment to ensure correct handling of API key file content. Was using a wrong variable name before.
1 parent e85f5b6 commit b75908f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/container-configbaker/scripts/apply-db-settings.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ if ! [[ "${DATAVERSE_URL}" == *"://localhost"* ]] || [ -n "${ADMIN_API_UNBLOCK_K
102102
if [ -z "${API_KEY_FILE_CONTENT}" ]; then
103103
error "API key file ${ADMIN_API_UNBLOCK_KEY} appears empty."
104104
fi
105-
ADMIN_API_UNBLOCK_KEY="$API_KEY_CONTENT"
105+
ADMIN_API_UNBLOCK_KEY="$API_KEY_FILE_CONTENT"
106106
fi
107107
# Very basic error check (as there is no clear format or formal spec for the key)
108108
if [ ${#ADMIN_API_UNBLOCK_KEY} -lt 5 ]; then

0 commit comments

Comments
 (0)