Skip to content

Commit

Permalink
fix: correct check
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Apr 16, 2020
1 parent e5c862d commit 50c30a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subcommands/show-manifest
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cmd-scheduler-kubernetes-show-manifest() {

verify_app_name "$APP"
local DOKKU_SCHEDULER=$(get_app_scheduler "$APP")
[[ "$DOKKU_SCHEDULER" != "kubernetes" ]] || dokku_log_fail "Scheduler for $APP is set to $DOKKU_SCHEDULER"
[[ "$DOKKU_SCHEDULER" != "kubernetes" ]] && dokku_log_fail "Scheduler for $APP is set to $DOKKU_SCHEDULER"

local DEPLOYMENT_TEMPLATE="$PLUGIN_AVAILABLE_PATH/scheduler-kubernetes/templates/deployment.json.sigil"
local SERVICE_TEMPLATE="$PLUGIN_AVAILABLE_PATH/scheduler-kubernetes/templates/service.json.sigil"
Expand Down

0 comments on commit 50c30a5

Please sign in to comment.