)]}'
{"templates/l3_agent_stop_ping.sh.j2":[{"author":{"_account_id":15818,"name":"Ariel Opincaru","email":"aopincar@redhat.com","username":"aopincar"},"change_message_id":"b6949f1487e7d634058ca6bcdcddbc55827b6a9f","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# check results"},{"line_number":14,"context_line":"PING_RESULT\u003d$( grep \u0027packet loss\u0027 $PING_RESULT_LOG | sed \u0027s/.*,\\s\\(.*\\)%.*$/\\1/\u0027 )"},{"line_number":15,"context_line":"if [ $(echo \"$PING_RESULT \u003e {{ loss_threshold|default(1)|int }}\" | bc ) -ne 0 ]; then"},{"line_number":16,"context_line":"    echo \"Ping loss higher than {{ loss_threshold|default(1)|int }}% detected\""},{"line_number":17,"context_line":"    exit 1"},{"line_number":18,"context_line":"fi"}],"source_content_type":"text/x-jinja2","patch_set":2,"id":"3fa7e38b_41bb31c3","line":16,"updated":"2019-10-08 14:30:04.000000000","message":"I suggest printing \u0027PING_RESULT\u0027 here, so if something similar will happen in the future, it will be clear what are the compared values.","commit_id":"6ecf38c4edc4cd50050103334274300c0af4bc9c"}]}
