)]}'
{"magnumclient/v1/bays_shell.py":[{"author":{"_account_id":22493,"name":"Michael Liu","email":"ztehypervisor@zte.com.cn","username":"Michaelliu"},"change_message_id":"6e7c995a784cc3d7377f1a7f1dcd9e181a0bdd20","unresolved":false,"context_lines":[{"line_number":131,"context_line":"           nargs\u003d\u0027+\u0027,"},{"line_number":132,"context_line":"           help\u003d\u0027ID or name of the (bay)s to delete.\u0027)"},{"line_number":133,"context_line":"@utils.deprecated(DEPRECATION_MESSAGE)"},{"line_number":134,"context_line":"def do_bay_delete(cs, args):"},{"line_number":135,"context_line":"    \"\"\"Delete specified bay.\"\"\""},{"line_number":136,"context_line":"    for id in args.bay:"},{"line_number":137,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":2,"id":"7a8ec9b2_e52de1fe","line":134,"range":{"start_line":134,"start_character":4,"end_line":134,"end_character":17},"updated":"2016-09-19 06:53:09.000000000","message":"also need to fix do_cluster_delete","commit_id":"00128e9a66465dcfd272c2ebc1e45147183d1588"},{"author":{"_account_id":22493,"name":"Michael Liu","email":"ztehypervisor@zte.com.cn","username":"Michaelliu"},"change_message_id":"6e7c995a784cc3d7377f1a7f1dcd9e181a0bdd20","unresolved":false,"context_lines":[{"line_number":135,"context_line":"    \"\"\"Delete specified bay.\"\"\""},{"line_number":136,"context_line":"    for id in args.bay:"},{"line_number":137,"context_line":"        try:"},{"line_number":138,"context_line":"            bay \u003d cs.bays.get(id)"},{"line_number":139,"context_line":"            if bay.status \u003d\u003d \u0027CREATE_IN_PROGRESS\u0027:"},{"line_number":140,"context_line":"                print(\"Refuse to delete bay %s,because the bay still in %s.\" %"},{"line_number":141,"context_line":"                      (id, bay.status))"}],"source_content_type":"text/x-python","patch_set":2,"id":"7a8ec9b2_e562413d","line":138,"range":{"start_line":138,"start_character":21,"end_line":138,"end_character":25},"updated":"2016-09-19 06:53:09.000000000","message":"need to fix tests because you quote a new function cs.bays.get","commit_id":"00128e9a66465dcfd272c2ebc1e45147183d1588"},{"author":{"_account_id":22493,"name":"Michael Liu","email":"ztehypervisor@zte.com.cn","username":"Michaelliu"},"change_message_id":"2f69c1afe5aec3b4656c49013c53f3daaa7bf5bc","unresolved":false,"context_lines":[{"line_number":136,"context_line":"    for id in args.bay:"},{"line_number":137,"context_line":"        try:"},{"line_number":138,"context_line":"            bay \u003d cs.bays.get(id)"},{"line_number":139,"context_line":"            if bay.status \u003d\u003d \u0027CREATE_IN_PROGRESS\u0027:"},{"line_number":140,"context_line":"                print(\"Refuse to delete bay %s,because the bay still in %s.\" %"},{"line_number":141,"context_line":"                      (id, bay.status))"},{"line_number":142,"context_line":"                return"}],"source_content_type":"text/x-python","patch_set":2,"id":"7a8ec9b2_146cc506","line":139,"range":{"start_line":139,"start_character":0,"end_line":139,"end_character":12},"updated":"2016-09-19 03:46:21.000000000","message":"Similar fix should be done in magnum server side, because if somebody use rest api directly, the fix will be bypassed","commit_id":"00128e9a66465dcfd272c2ebc1e45147183d1588"}]}
