mirror of https://github.com/apache/cloudstack.git
TestClient: fix npe
This commit is contained in:
parent
f4eb81f9b8
commit
ef9ab5f7a9
|
|
@ -202,7 +202,7 @@ class deployDataCenters():
|
|||
self.apiClient = self.testClient.getApiClient()
|
||||
|
||||
def updateConfiguration(self, globalCfg):
|
||||
if len(globalCfg) == 0:
|
||||
if globalCfg is None:
|
||||
return None
|
||||
|
||||
for config in globalCfg:
|
||||
|
|
|
|||
Loading…
Reference in New Issue