Skip to content

Commit 5fb2f2c

Browse files
rosalieperdeer-wmde
authored andcommitted
Fix broken curl command (#2372)
1 parent 5bcde95 commit 5fb2f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

k8s/jobs/mediawikiUpdate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ spec:
4545
curl --fail --location --silent --request PUT \
4646
"http://${PLATFORM_API_BACKEND_HOST}/backend/setWikiDbVersion?domain=${WBS_DOMAIN}&dbVersion=${MW_VERSION}"
4747
log_info "database version updated to ${MW_VERSION}"
48-
curl --fail --location --silent --request PUT \
4948
log_info "Pause for 2 minutes before disabling readOnly mood"
5049
sleep 120
50+
curl --fail --location --silent --request PUT \
5151
"http://${PLATFORM_API_BACKEND_HOST}/backend/setWikiReadOnly?domain=${WBS_DOMAIN}&readOnly=0"
5252
log_info "readOnly mode will be disabled for ${WBS_DOMAIN}"
5353
else

0 commit comments

Comments
 (0)