The type of node_count is number

The type of node_count is number and the default for it is 1. We
should not assign None to it.

Change-Id: I4b2275e84fae3685ec3b98f69253b5fedfc0eac6
This commit is contained in:
Hua Wang 2016-03-17 11:45:47 +08:00
parent a209b13adb
commit 22b4be7d7e
1 changed files with 1 additions and 2 deletions

View File

@ -137,8 +137,7 @@ class BaseMagnumClient(base.BaseMagnumTest):
def _create_bay(cls, name, baymodel_uuid):
bay = cls.cs.bays.create(
name=name,
baymodel_id=baymodel_uuid,
node_count=None,
baymodel_id=baymodel_uuid
)
return bay