)]}'
{"nova/templates/bin/_health-probe.py.tpl":[{"author":{"_account_id":3009,"name":"Vladimir Kozhukalov","email":"kozhukalov@gmail.com","username":"kozhukalov"},"change_message_id":"89739ef07d62d14fd30ce33005850aeecbb0c6b9","unresolved":true,"context_lines":[{"line_number":142,"context_line":"    try:"},{"line_number":143,"context_line":"        with open(sys.argv[2]) as conf_file:"},{"line_number":144,"context_line":"            for line in conf_file:"},{"line_number":145,"context_line":"                if line.startswith(\"connection \u003d\"):"},{"line_number":146,"context_line":"                    service \u003d line.split(\u0027:\u0027, 3)[3].split(\u0027/\u0027)[1].rstrip(\u0027\\n\u0027)"},{"line_number":147,"context_line":"                    if service \u003d\u003d \"nova\":"},{"line_number":148,"context_line":"                        database_ports.add("}],"source_content_type":"text/x-smarty","patch_set":1,"id":"f0aceecd_99e81364","line":145,"updated":"2023-08-30 20:55:50.000000000","message":"Potentially there could be whitespace symbols before \"connection \u003d\" and also between the word and the equal sign. So probably we could use smth like\n```\nre.match(r\u0027^\\s*connection\\s*\u003d\u0027, line)\n```","commit_id":"ee4280c5b98cd3b9ef0e3150172309b5e496858a"},{"author":{"_account_id":31746,"name":"Oleksandr Kozachenko","email":"okozachenko1203@gmail.com","username":"okozachenko"},"change_message_id":"ab00d0fb6e9de4845638c25ce9b6b87e11c54f40","unresolved":false,"context_lines":[{"line_number":142,"context_line":"    try:"},{"line_number":143,"context_line":"        with open(sys.argv[2]) as conf_file:"},{"line_number":144,"context_line":"            for line in conf_file:"},{"line_number":145,"context_line":"                if line.startswith(\"connection \u003d\"):"},{"line_number":146,"context_line":"                    service \u003d line.split(\u0027:\u0027, 3)[3].split(\u0027/\u0027)[1].rstrip(\u0027\\n\u0027)"},{"line_number":147,"context_line":"                    if service \u003d\u003d \"nova\":"},{"line_number":148,"context_line":"                        database_ports.add("}],"source_content_type":"text/x-smarty","patch_set":1,"id":"a69b0266_960bf5a7","line":145,"in_reply_to":"f0aceecd_99e81364","updated":"2023-08-31 15:30:52.000000000","message":"Done","commit_id":"ee4280c5b98cd3b9ef0e3150172309b5e496858a"}]}
