)]}'
{"zunclient/osc/v1/containers.py":[{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"605d9d16c591bdea088ffd5508df6b2269d17460","unresolved":false,"context_lines":[{"line_number":174,"context_line":"    def get_parser(self, prog_name):"},{"line_number":175,"context_line":"        parser \u003d super(DeleteContainer, self).get_parser(prog_name)"},{"line_number":176,"context_line":"        parser.add_argument("},{"line_number":177,"context_line":"            \u0027container\u0027,"},{"line_number":178,"context_line":"            metavar\u003d\u0027\u003ccontainer\u003e\u0027,"},{"line_number":179,"context_line":"            help\u003d\u0027ID or name of the (container)s to delete.\u0027)"},{"line_number":180,"context_line":"        parser.add_argument("}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_a752ae11","line":177,"range":{"start_line":177,"start_character":13,"end_line":177,"end_character":22},"updated":"2017-01-02 16:33:20.000000000","message":"It is better to support deleting multiple containers. For example:\n\n  $ openstack appcontainer delete \u003cID1\u003e \u003cID2\u003e ...\n\nThe trick is to instruct the parser to parse multiple \"container\". See how Ironic did that: https://github.com/openstack/python-ironicclient/blob/master/ironicclient/osc/v1/baremetal_node.py#L342","commit_id":"07e7eeb3ce214c65c64f85b99cfd67e4a148868c"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"605d9d16c591bdea088ffd5508df6b2269d17460","unresolved":false,"context_lines":[{"line_number":178,"context_line":"            metavar\u003d\u0027\u003ccontainer\u003e\u0027,"},{"line_number":179,"context_line":"            help\u003d\u0027ID or name of the (container)s to delete.\u0027)"},{"line_number":180,"context_line":"        parser.add_argument("},{"line_number":181,"context_line":"            \u0027force\u0027,"},{"line_number":182,"context_line":"            action\u003d\u0027store_true\u0027,"},{"line_number":183,"context_line":"            help\u003d\u0027Force delete the container.\u0027)"},{"line_number":184,"context_line":"        return parser"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_a72b8e81","line":181,"range":{"start_line":181,"start_character":13,"end_line":181,"end_character":18},"updated":"2017-01-02 16:33:20.000000000","message":"It should be \"--force\"","commit_id":"07e7eeb3ce214c65c64f85b99cfd67e4a148868c"},{"author":{"_account_id":16277,"name":"Pradeep Kumar Singh","email":"ps4openstack@gmail.com","username":"pradeep_singh"},"change_message_id":"1ffec0efb36399c6b877372bb8d5fe1445152584","unresolved":false,"context_lines":[{"line_number":193,"context_line":"            try:"},{"line_number":194,"context_line":"                client.containers.delete(container, force)"},{"line_number":195,"context_line":"                print(_(\u0027Deleted a container %s\u0027) % container)"},{"line_number":196,"context_line":"            except Exception as e:"},{"line_number":197,"context_line":"                print(\"Delete container %(container)s failed: %(e)s\" %"},{"line_number":198,"context_line":"                      {\u0027container\u0027: container, \u0027e\u0027: e})"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba5201f7_ea27ef0f","line":196,"updated":"2017-01-04 04:06:26.000000000","message":"@Namrata, this message is different to message at https://github.com/openstack/python-zunclient/blob/master/zunclient/v1/containers_shell.py#L143, any specific reason for this?","commit_id":"db64d37f3c17f3cd947aed476b25a6b86e97fe63"}]}
