Skip to content

Commit

Permalink
Merge pull request #50 from RHEcosystemAppEng/fix/image-script
Browse files Browse the repository at this point in the history
fix: argument list too long error when writing json report to file
  • Loading branch information
zvigrinberg authored Sep 10, 2023
2 parents 0c0681a + 720ca71 commit f184e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-image/scripts/exhort.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ else

# Save report along with exit code into output file.
jq -n {} | \
jq --argjson report "$report" '. + {report: $report}' | \
jq --slurpfile report <(echo "$report") '. + {report: $report[0]}' | \
jq --arg exit_code "$exit_code" '. + {exit_code: $exit_code}' > \
$output_file_path

Expand Down

0 comments on commit f184e93

Please sign in to comment.