diff --git a/plugins/checks/subcommands/run b/plugins/checks/subcommands/run index b774c7977..29121fd3a 100755 --- a/plugins/checks/subcommands/run +++ b/plugins/checks/subcommands/run @@ -29,7 +29,7 @@ check_all_processes() { fi check_process_type "$APP" "$PROC_TYPE" "$PROC_COUNT" - done <"$(plugn trigger ps-current-scale "$APP")" + done < <(plugn trigger ps-current-scale "$APP") if [[ "$VALID_CHECK_PROC_TYPE" == "false" ]]; then dokku_log_fail "Invalid process type specified ($APP.$CHECK_PROC_TYPE)" diff --git a/plugins/nginx-vhosts/functions b/plugins/nginx-vhosts/functions index d1f776eda..19baf6a9a 100755 --- a/plugins/nginx-vhosts/functions +++ b/plugins/nginx-vhosts/functions @@ -518,7 +518,7 @@ nginx_build_config() { UPP_PROC_TYPE="${PROC_TYPE^^}" UPP_PROC_TYPE="${UPP_PROC_TYPE//-/_}" SIGIL_PARAMS+=("DOKKU_APP_${UPP_PROC_TYPE}_LISTENERS=$LISTENERS") - done <"$(plugn trigger ps-current-scale "$APP")" + done < <(plugn trigger ps-current-scale "$APP") if grep DOKKU_APP_LISTENERS "$NGINX_TEMPLATE"; then dokku_log_warn "Deprecated: Usage of DOKKU_APP_LISTENERS within nginx.conf.sigil templates is deprecated in favor of DOKKU_APP_WEB_LISTENERS" diff --git a/plugins/scheduler-docker-local/scheduler-deploy b/plugins/scheduler-docker-local/scheduler-deploy index 13d17345a..c83de4573 100755 --- a/plugins/scheduler-docker-local/scheduler-deploy +++ b/plugins/scheduler-docker-local/scheduler-deploy @@ -177,7 +177,7 @@ trigger-scheduler-docker-local-scheduler-deploy() { cd "$DOKKU_ROOT/$APP" find . -maxdepth 1 -name "$container_state_filetype.$PROC_TYPE.*" -printf "%f\n" | sort -t . -k 3 -n | tail -n +$CONTAINER_IDX_OFFSET | xargs rm -f done - done <"$(plugn trigger ps-current-scale "$APP")" + done < <(plugn trigger ps-current-scale "$APP") dokku_log_info1 "Running post-deploy" plugn trigger core-post-deploy "$APP" "$port" "$ipaddr" "$IMAGE_TAG"