From e349aafe047ce0e419634b96c34acef8b60549af Mon Sep 17 00:00:00 2001 From: Alexander Lenail Date: Tue, 26 Jul 2016 17:09:49 -0400 Subject: [PATCH] fix bug. --- lib/galaxy/objectstore/azure_blob.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/galaxy/objectstore/azure_blob.py b/lib/galaxy/objectstore/azure_blob.py index 248deaa7d5af..09ea8fa93d8d 100644 --- a/lib/galaxy/objectstore/azure_blob.py +++ b/lib/galaxy/objectstore/azure_blob.py @@ -67,8 +67,8 @@ def _parse_config_xml(self, config_xml): self.account_name = auth_xml.get('account_name') self.account_key = auth_xml.get('account_key') container_xml = config_xml.find('container') - self.container = container_xml.get('name') - self.max_chunk_size = int(container_xml.get('max_chunk_size', 250)) + self.container_name = container_xml.get('name') + self.max_chunk_size = int(container_xml.get('max_chunk_size', 250)) # currently unused cache_xml = config_xml.find('cache') self.cache_size = float(cache_xml.get('size', -1)) self.staging_path = cache_xml.get('path', self.config.object_store_cache_path) @@ -79,9 +79,6 @@ def _parse_config_xml(self, config_xml): log.debug("Object cache dir: %s", self.staging_path) log.debug(" job work dir: %s", self.extra_dirs['job_work']) - self.AzureBlobServer = {'account_name': self.account_name, - 'account_key': self.account_key, - 'max_chunk_size': self.max_chunk_size} except Exception: # Toss it back up after logging, we can't continue loading at this point.