fix: properly handle unlink on promoted service

This commit is contained in:
Jose Diaz-Gonzalez
2021-09-13 00:04:28 -04:00
parent 386a97d68d
commit 943f90f4b8

View File

@@ -816,7 +816,7 @@ service_unlink() {
[[ -z ${LINK[*]} ]] && dokku_log_fail "Not linked to app $APP"
plugn trigger service-action post-unlink "$SERVICE" "$APP"
config_unset "$APP" "${LINK[*]}"
config_unset "$APP" "${LINK[@]}"
plugn trigger service-action post-unlink-complete "$SERVICE" "$APP"
}