Merge pull request #2972 from buckle2000/patch-1

Correct typo in docker-options:remove error output
This commit is contained in:
Jose Diaz-Gonzalez
2017-11-05 12:26:36 -05:00
committed by GitHub

View File

@@ -11,7 +11,7 @@ docker_options_remove_cmd() {
read -ra passed_phases <<< "$(get_phases "$3")"
shift 3 # everything else passed is the docker option
# shellcheck disable=SC2154
[[ -z ${passed_docker_option="$@"} ]] && dokku_log_fail "Please specify docker options to add to the phase"
[[ -z ${passed_docker_option="$@"} ]] && dokku_log_fail "Please specify docker options to remove from the phase"
remove_passed_docker_option passed_phases[@] "${passed_docker_option[@]}"
}