)]}'
{"scripts/gate-check-commit.sh":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"edef3eb615c858f806451dc5c19dedb6f00f643b","unresolved":false,"context_lines":[{"line_number":77,"context_line":"# Log some data about the instance and the rest of the system"},{"line_number":78,"context_line":"log_instance_info"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"GATE_EXIT_RUN_DSTAT\u003d\"${GATE_EXIT_RUN_DSTAT:-true}\""},{"line_number":81,"context_line":"if [ \"$GATE_EXIT_RUN_DSTAT\" \u003d\u003d true ]; then"},{"line_number":82,"context_line":"  run_dstat"},{"line_number":83,"context_line":"fi"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"# Get minimum disk size"},{"line_number":86,"context_line":"DATA_DISK_MIN_SIZE\u003d\"$((1024**3 * $(awk \u0027/bootstrap_host_data_disk_min_size/{print $2}\u0027 \"${OSA_CLONE_DIR}/tests/roles/bootstrap-host/defaults/main.yml\") ))\""}],"source_content_type":"text/x-sh","patch_set":2,"id":"9f91af0f_4af79960","line":83,"range":{"start_line":80,"start_character":0,"end_line":83,"end_character":2},"updated":"2018-01-08 11:14:22.000000000","message":"An alternative would be to put the check into the scripts library inside this function. That would prevent the double definition.","commit_id":"f8da4b760ad71e9a559660d9b41414920b8a2b14"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"84331aa199648a9ae1b26377d412762718e2f700","unresolved":false,"context_lines":[{"line_number":77,"context_line":"# Log some data about the instance and the rest of the system"},{"line_number":78,"context_line":"log_instance_info"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"GATE_EXIT_RUN_DSTAT\u003d\"${GATE_EXIT_RUN_DSTAT:-true}\""},{"line_number":81,"context_line":"if [ \"$GATE_EXIT_RUN_DSTAT\" \u003d\u003d true ]; then"},{"line_number":82,"context_line":"  run_dstat"},{"line_number":83,"context_line":"fi"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"# Get minimum disk size"},{"line_number":86,"context_line":"DATA_DISK_MIN_SIZE\u003d\"$((1024**3 * $(awk \u0027/bootstrap_host_data_disk_min_size/{print $2}\u0027 \"${OSA_CLONE_DIR}/tests/roles/bootstrap-host/defaults/main.yml\") ))\""}],"source_content_type":"text/x-sh","patch_set":2,"id":"9f91af0f_906b90b5","line":83,"range":{"start_line":80,"start_character":0,"end_line":83,"end_character":2},"in_reply_to":"9f91af0f_4af79960","updated":"2018-01-08 12:38:45.000000000","message":"I am fine with that, I don\u0027t think it NEEDS to run after log_instance_info, and can therefore be done there.\n\nThis works and is already tested \u0027though. If I need to update this patchset, I will do it at the same time.","commit_id":"f8da4b760ad71e9a559660d9b41414920b8a2b14"}]}
