(bug 267) Fix flavor info provided as dict 31/1931/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 13 Jun 2017 16:48:30 +0000 (18:48 +0200)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 13 Jun 2017 16:48:30 +0000 (18:48 +0200)
Change-Id: I1a388177c6fb0025679ec3bc72b9c3e6fd927810
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_ro/vimconn_aws.py

index dbe9acb..f0eebb6 100644 (file)
@@ -117,7 +117,7 @@ class vimconnector(vimconn.vimconnector):
                 except IOError as e:
                     raise vimconn.vimconnException("Error reading file '{}': {}".format(flavor_data[1:], e))
             elif isinstance(flavor_data, dict):
-                self.flavor_data = flavor_data
+                self.flavor_info = flavor_data
 
         self.logger = logging.getLogger('openmano.vim.aws')
         if log_level: