)]}'
{"glance_store/_drivers/swift/store.py":[{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"dcf2ad322bf09cc8b09aca0361332d2d6b230b03","unresolved":false,"context_lines":[{"line_number":945,"context_line":"        try:"},{"line_number":946,"context_line":"            default_ref \u003d self.conf.glance_store.default_swift_reference"},{"line_number":947,"context_line":"            default_swift_reference \u003d self.ref_params.get(default_ref)"},{"line_number":948,"context_line":"            if default_swift_reference:"},{"line_number":949,"context_line":"                auth_version \u003d default_swift_reference.get(\u0027auth_version\u0027)"},{"line_number":950,"context_line":"        except AttributeError:"},{"line_number":951,"context_line":"            pass"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a8ffd7b_0464d6e2","line":948,"updated":"2015-12-02 07:49:20.000000000","message":"The change looks good to me but I would propose the different place where I should add this option.\nauth_version is the common parameter for both - single-tenant and multi-tenant store. So it need to be specified in BaseStore instead of spreading the code through sub-classes. Also I am implementing re-authentication for swift and I need this to be in BaseStore.\nI would recommend to specify self.auth_version in BaseStore and initialize it with the correct version.","commit_id":"4bad64741b4d98999644056540957ac3152ceb27"}]}
