fix NameError
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Fri, 3 Feb 2012 19:13:54 +0000 (14:13 -0500)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Fri, 3 Feb 2012 19:13:54 +0000 (14:13 -0500)
sfa/openstack/nova_driver.py

index 792a8ac..3f8b7e3 100644 (file)
@@ -42,9 +42,9 @@ class NovaDriver (Driver):
         self.shell = NovaShell (config)
         self.cache=None
         if config.SFA_AGGREGATE_CACHING:
-            if OpenstackDriver.cache is None:
-                OpenstackDriver.cache = Cache()
-            self.cache = OpenstackDriver.cache
+            if NovaDriver.cache is None:
+                NovaDriver.cache = Cache()
+            self.cache = NovaDriver.cache
  
     ########################################
     ########## registry oriented