)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"change_message_id":"8154d3a48b7fe396c3590d2d819849dbdf8c81ca","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix allocation show / unset with empty allocation"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Add a guards for empty allocations in the allocation parsing code of"},{"line_number":10,"context_line":"allocation show and allocation unset."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Closes-Bug: #1942740"},{"line_number":13,"context_line":"Change-Id: Ic0e6e981d6602a76935f6bc6d9ffb0a707a5b1a9"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"de94ed65_8b019fc7","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":37},"updated":"2021-09-06 13:42:19.000000000","message":"nit - By switching to .get(), there\u0027s no explicit conditional guard being added here.","commit_id":"0ea8f1b05d4aa4a6f144adff08771f5b84bda479"}],"osc_placement/resources/allocation.py":[{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"68d59f0b0e96ab5b163c76ffbbfc3236338cdb3a","unresolved":true,"context_lines":[{"line_number":289,"context_line":"        if not per_provider:"},{"line_number":290,"context_line":"            # if the allocation is empty then do not try to parse out fields"},{"line_number":291,"context_line":"            # for an anyhow empty result"},{"line_number":292,"context_line":"            return [], []"},{"line_number":293,"context_line":""},{"line_number":294,"context_line":"        props \u003d {}"},{"line_number":295,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"a1c05c1a_04dafa43","line":292,"updated":"2021-09-06 11:56:59.000000000","message":"this is not good as it prevents using \n\nopenstack resource provider allocation show {uuid} --column resources\n\niff the allocation is empty :/","commit_id":"8dee42f8b906417ed16a32c904cd02cbbb191703"},{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"9dd9e21add9218164a34dd658736762e722f3235","unresolved":false,"context_lines":[{"line_number":289,"context_line":"        if not per_provider:"},{"line_number":290,"context_line":"            # if the allocation is empty then do not try to parse out fields"},{"line_number":291,"context_line":"            # for an anyhow empty result"},{"line_number":292,"context_line":"            return [], []"},{"line_number":293,"context_line":""},{"line_number":294,"context_line":"        props \u003d {}"},{"line_number":295,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"0e00a4bb_b26b2660","line":292,"in_reply_to":"a1c05c1a_04dafa43","updated":"2021-09-06 13:12:49.000000000","message":"Done","commit_id":"8dee42f8b906417ed16a32c904cd02cbbb191703"}]}
