)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":28174,"name":"Kim Bao Long","email":"longkb@vn.fujitsu.com","username":"longkb.fvl"},"change_message_id":"55023d60728a7d5808615b1a0df490ec29b86555","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Add validation for network log with resource_type"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Due to no validation, it used to occur \u0027Client\u0027 object has no"},{"line_number":10,"context_line":"attribute \u0027list_xxxx\u0027 in creating network log with wrong resource_type."},{"line_number":11,"context_line":"This commit adds a validation for \u0027resource_type\u0027 and fixes an error"},{"line_number":12,"context_line":"message."},{"line_number":13,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3f79a3b5_c8436a6b","line":10,"range":{"start_line":10,"start_character":51,"end_line":10,"end_character":56},"updated":"2018-08-27 02:30:16.000000000","message":"invalid or unsupported?","commit_id":"fd6ed21f2ebf4b3f0e2b8da54bad7d9e8b02d7e1"},{"author":{"_account_id":13702,"name":"yushiro","username":"yushiro","inactive":true},"change_message_id":"455a5e364f0c0a994d6abff4d9d877bdfeb921c7","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Add validation for network log with resource_type"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Due to no validation, it used to occur \u0027Client\u0027 object has no"},{"line_number":10,"context_line":"attribute \u0027list_xxxx\u0027 in creating network log with wrong resource_type."},{"line_number":11,"context_line":"This commit adds a validation for \u0027resource_type\u0027 and fixes an error"},{"line_number":12,"context_line":"message."},{"line_number":13,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3f79a3b5_dbea5272","line":10,"range":{"start_line":10,"start_character":51,"end_line":10,"end_character":56},"in_reply_to":"3f79a3b5_c8436a6b","updated":"2018-08-27 03:53:29.000000000","message":"Yeah, \u0027invalid\u0027 is better.","commit_id":"fd6ed21f2ebf4b3f0e2b8da54bad7d9e8b02d7e1"}],"neutronclient/osc/v2/logging/network_log.py":[{"author":{"_account_id":28174,"name":"Kim Bao Long","email":"longkb@vn.fujitsu.com","username":"longkb.fvl"},"change_message_id":"55023d60728a7d5808615b1a0df490ec29b86555","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        resource_type \u003d parsed_args.resource_type"},{"line_number":81,"context_line":"        attrs[\u0027resource_type\u0027] \u003d resource_type"},{"line_number":82,"context_line":"        supported_resources \u003d ["},{"line_number":83,"context_line":"            v[\u0027type\u0027] for v in client.list_network_loggable_resources()["},{"line_number":84,"context_line":"                \u0027loggable_resources\u0027]]"},{"line_number":85,"context_line":"        if resource_type not in supported_resources:"},{"line_number":86,"context_line":"            msg \u003d (\u0027openstack network log create: error: argument \u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_e83bc6e6","line":83,"range":{"start_line":83,"start_character":12,"end_line":83,"end_character":13},"updated":"2018-08-27 02:30:16.000000000","message":"This is no meaning name. Please change the variable name.","commit_id":"fd6ed21f2ebf4b3f0e2b8da54bad7d9e8b02d7e1"},{"author":{"_account_id":13702,"name":"yushiro","username":"yushiro","inactive":true},"change_message_id":"455a5e364f0c0a994d6abff4d9d877bdfeb921c7","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        resource_type \u003d parsed_args.resource_type"},{"line_number":81,"context_line":"        attrs[\u0027resource_type\u0027] \u003d resource_type"},{"line_number":82,"context_line":"        supported_resources \u003d ["},{"line_number":83,"context_line":"            v[\u0027type\u0027] for v in client.list_network_loggable_resources()["},{"line_number":84,"context_line":"                \u0027loggable_resources\u0027]]"},{"line_number":85,"context_line":"        if resource_type not in supported_resources:"},{"line_number":86,"context_line":"            msg \u003d (\u0027openstack network log create: error: argument \u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_bbe756ac","line":83,"range":{"start_line":83,"start_character":12,"end_line":83,"end_character":13},"in_reply_to":"3f79a3b5_e83bc6e6","updated":"2018-08-27 03:53:29.000000000","message":"OK, I\u0027ll update it.","commit_id":"fd6ed21f2ebf4b3f0e2b8da54bad7d9e8b02d7e1"},{"author":{"_account_id":28174,"name":"Kim Bao Long","email":"longkb@vn.fujitsu.com","username":"longkb.fvl"},"change_message_id":"55023d60728a7d5808615b1a0df490ec29b86555","unresolved":false,"context_lines":[{"line_number":83,"context_line":"            v[\u0027type\u0027] for v in client.list_network_loggable_resources()["},{"line_number":84,"context_line":"                \u0027loggable_resources\u0027]]"},{"line_number":85,"context_line":"        if resource_type not in supported_resources:"},{"line_number":86,"context_line":"            msg \u003d (\u0027openstack network log create: error: argument \u0027"},{"line_number":87,"context_line":"                   \u0027--resource-type: invalid choice: %s (choose from %s)\u0027 % ("},{"line_number":88,"context_line":"                      resource_type, \u0027, \u0027.join(supported_resources)))"},{"line_number":89,"context_line":"            raise exceptions.CommandError(msg)"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_3b1a666e","line":86,"range":{"start_line":86,"start_character":55,"end_line":86,"end_character":56},"updated":"2018-08-27 02:30:16.000000000","message":"In this message, there are too many \":\". IMO, you can write it like:\nmsg \u003d (\u0027Error: Invalid --resource-type\u003d%s. Please choose from %s\u0027 % (resource_type, \u0027, \u0027.join(supported_resources)))","commit_id":"fd6ed21f2ebf4b3f0e2b8da54bad7d9e8b02d7e1"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"bd67e0b1bd5030968e6a23252bfac518c56fdfe4","unresolved":false,"context_lines":[{"line_number":83,"context_line":"            v[\u0027type\u0027] for v in client.list_network_loggable_resources()["},{"line_number":84,"context_line":"                \u0027loggable_resources\u0027]]"},{"line_number":85,"context_line":"        if resource_type not in supported_resources:"},{"line_number":86,"context_line":"            msg \u003d (\u0027openstack network log create: error: argument \u0027"},{"line_number":87,"context_line":"                   \u0027--resource-type: invalid choice: %s (choose from %s)\u0027 % ("},{"line_number":88,"context_line":"                      resource_type, \u0027, \u0027.join(supported_resources)))"},{"line_number":89,"context_line":"            raise exceptions.CommandError(msg)"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_d9db687a","line":86,"range":{"start_line":86,"start_character":55,"end_line":86,"end_character":56},"in_reply_to":"3f79a3b5_1bf52a57","updated":"2018-09-05 16:14:12.000000000","message":"I am okay with the current version of the message.\nIf you try some validation error like \"openstack subnet create --ip-version 7 foo\", you can get the similar message.","commit_id":"fd6ed21f2ebf4b3f0e2b8da54bad7d9e8b02d7e1"},{"author":{"_account_id":13702,"name":"yushiro","username":"yushiro","inactive":true},"change_message_id":"455a5e364f0c0a994d6abff4d9d877bdfeb921c7","unresolved":false,"context_lines":[{"line_number":83,"context_line":"            v[\u0027type\u0027] for v in client.list_network_loggable_resources()["},{"line_number":84,"context_line":"                \u0027loggable_resources\u0027]]"},{"line_number":85,"context_line":"        if resource_type not in supported_resources:"},{"line_number":86,"context_line":"            msg \u003d (\u0027openstack network log create: error: argument \u0027"},{"line_number":87,"context_line":"                   \u0027--resource-type: invalid choice: %s (choose from %s)\u0027 % ("},{"line_number":88,"context_line":"                      resource_type, \u0027, \u0027.join(supported_resources)))"},{"line_number":89,"context_line":"            raise exceptions.CommandError(msg)"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_1bf52a57","line":86,"range":{"start_line":86,"start_character":55,"end_line":86,"end_character":56},"in_reply_to":"3f79a3b5_3b1a666e","updated":"2018-08-27 03:53:29.000000000","message":"Ah, this message is same as existing one.  I\u0027d like to align with existing message.","commit_id":"fd6ed21f2ebf4b3f0e2b8da54bad7d9e8b02d7e1"}]}
