)]}'
{"zun/volume/cinder_api.py":[{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"414be920171b0e9f0c1b6a9dea920e3ccda0a1b0","unresolved":false,"context_lines":[{"line_number":46,"context_line":"            volumes \u003d [volume]"},{"line_number":47,"context_line":"        else:"},{"line_number":48,"context_line":"            if self.context.is_admin:"},{"line_number":49,"context_line":"                volumes \u003d self.cinder.volumes.list("},{"line_number":50,"context_line":"                    search_opts\u003d{\u0027name\u0027: volume,"},{"line_number":51,"context_line":"                                 \u0027all_tenants\u0027: 1})"},{"line_number":52,"context_line":"            else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff82abbf_16605ece","line":49,"range":{"start_line":49,"start_character":46,"end_line":49,"end_character":50},"updated":"2017-11-20 16:36:17.000000000","message":"Note: we might consider to leverage the \"find\" method in cinder client [1] since there are similar implementation there.\n\n[1] https://github.com/openstack/python-cinderclient/blob/master/cinderclient/base.py#L368","commit_id":"e70a5baa8cd40e9620fea433b52d62da2ceaf61c"}]}
