)]}'
{"healthcheck/mariadb":[{"author":{"_account_id":28223,"name":"Cedric Jeanneret","display_name":"cjeanner (Tengu)","email":"cjeanner@redhat.com","username":"cjeanner"},"change_message_id":"84b907483961729ff49fa6f8af5a60a617a511e2","unresolved":true,"context_lines":[{"line_number":26,"context_line":"else"},{"line_number":27,"context_line":"        bind_host\u003d${ADDR:-$(hostname)}"},{"line_number":28,"context_line":"        bind_port\u003d${PORT:-9200}"},{"line_number":29,"context_line":"        healthcheck_curl http://${bind_host}:${bind_port}/"},{"line_number":30,"context_line":"fi"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"3f08a3af_7a13e487","line":29,"updated":"2022-08-02 08:18:24.000000000","message":"don\u0027t we need to add quotes here?  I mean, how will bash react to\nhttp://[fe28::1]:9200\nwithout any quoting?","commit_id":"b48d0d5758bacf5536ef973b60607818de92b2e0"},{"author":{"_account_id":20778,"name":"Damien Ciabrini","email":"dciabrin@redhat.com","username":"dciabrin"},"change_message_id":"c3c03ba0b7fe21876cd3d45649afc3460a504685","unresolved":true,"context_lines":[{"line_number":26,"context_line":"else"},{"line_number":27,"context_line":"        bind_host\u003d${ADDR:-$(hostname)}"},{"line_number":28,"context_line":"        bind_port\u003d${PORT:-9200}"},{"line_number":29,"context_line":"        healthcheck_curl http://${bind_host}:${bind_port}/"},{"line_number":30,"context_line":"fi"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"f0983b25_d1edb33d","line":29,"in_reply_to":"3f08a3af_7a13e487","updated":"2022-08-02 08:21:05.000000000","message":"It\u0027s working fine as the characters are not evaluated directly, they are expanded from the variable. After evaluation, this looks like a single regular string:\n\nbash -x /openstack/healthcheck\n[...]\n+ curl -g -k -q -s -S --fail -o /dev/null --max-time 10 --user-agent curl-healthcheck --write-out \u0027\\n%{http_code} %{remote_ip}:%{remote_port} %{time_total} seconds\\n\u0027 \u0027http://[fd00:fd00:fd00:2000::c9]:9200/\u0027\n\n200 fd00:fd00:fd00:2000::c9:9200 0.014001 seconds","commit_id":"b48d0d5758bacf5536ef973b60607818de92b2e0"},{"author":{"_account_id":28223,"name":"Cedric Jeanneret","display_name":"cjeanner (Tengu)","email":"cjeanner@redhat.com","username":"cjeanner"},"change_message_id":"445696026b86d2992fd723a2eb1669f8b6ab960b","unresolved":false,"context_lines":[{"line_number":26,"context_line":"else"},{"line_number":27,"context_line":"        bind_host\u003d${ADDR:-$(hostname)}"},{"line_number":28,"context_line":"        bind_port\u003d${PORT:-9200}"},{"line_number":29,"context_line":"        healthcheck_curl http://${bind_host}:${bind_port}/"},{"line_number":30,"context_line":"fi"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"d239a293_72e8a565","line":29,"in_reply_to":"f0983b25_d1edb33d","updated":"2022-08-02 08:25:16.000000000","message":"All good then, thanks for answering!","commit_id":"b48d0d5758bacf5536ef973b60607818de92b2e0"}]}
