From 448da67e880fba3ec7006cd7691d7a90d2165fd9 Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Fri, 30 May 2014 09:48:21 +1000 Subject: [PATCH] Remove support for nova volumes Note this is only supported if for some reason cinder client is not imported, which seems rather random. Change-Id: Id57ba93ef8202ba2a513ee21aff02e4dac9ec21e --- heat/engine/clients.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat/engine/clients.py b/heat/engine/clients.py index 71166ce3e0..ff70fe9931 100644 --- a/heat/engine/clients.py +++ b/heat/engine/clients.py @@ -209,7 +209,7 @@ class OpenStackClients(object): def cinder(self): if cinderclient is None: - return self.nova('volume') + return None if self._cinder: return self._cinder