)]}'
{"functions":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"0597496247514eadad3a695efa6750bfcabc0480","unresolved":false,"context_lines":[{"line_number":666,"context_line":""},{"line_number":667,"context_line":"# running_in_container - Returns true otherwise false"},{"line_number":668,"context_line":"function running_in_container {"},{"line_number":669,"context_line":"    if [[ $(systemd-detect-virt --container) !\u003d \u0027none\u0027 ]]; then"},{"line_number":670,"context_line":"        return 0"},{"line_number":671,"context_line":"    fi"},{"line_number":672,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"1a1ced50_68fb7679","line":669,"updated":"2017-03-23 06:20:10.000000000","message":"hmm, doh\n\nwhy don\u0027t we get rid of the confusion all together and just make this\n\n function running_in_container {\n   [[ $(systemd-detect-virt --container) !\u003d \u0027none\u0027 ]]\n }","commit_id":"98b139b053d73e25c2ca3a5c5ad4fa231365c8b2"},{"author":{"_account_id":22271,"name":"paresh","email":"paresh.sao@hpe.com","username":"kesper"},"change_message_id":"b6d190153709c06ef40789342ed44987eebdcf9c","unresolved":false,"context_lines":[{"line_number":666,"context_line":""},{"line_number":667,"context_line":"# running_in_container - Returns true otherwise false"},{"line_number":668,"context_line":"function running_in_container {"},{"line_number":669,"context_line":"    if [[ $(systemd-detect-virt --container) !\u003d \u0027none\u0027 ]]; then"},{"line_number":670,"context_line":"        return 0"},{"line_number":671,"context_line":"    fi"},{"line_number":672,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"1a1ced50_08c202e9","line":669,"in_reply_to":"1a1ced50_68fb7679","updated":"2017-03-23 06:30:48.000000000","message":"Done","commit_id":"98b139b053d73e25c2ca3a5c5ad4fa231365c8b2"}]}
