Clean up test node post data

'raid_config' and 'target_raid_config' have been added to
internal_attr with the raid API part, so no need to pop
them explicitly.

Change-Id: I283e1c169f12947bc5847bcfbb23baf6c5068558
This commit is contained in:
Zhenguo Niu 2016-03-25 00:12:12 +08:00
parent a188a31365
commit c4ff0fdfb1

View File

@ -93,8 +93,6 @@ def node_post_data(**kw):
# These values are not part of the API object
node.pop('conductor_affinity')
node.pop('chassis_id')
node.pop('target_raid_config')
node.pop('raid_config')
node.pop('tags')
internal = node_controller.NodePatchType.internal_attrs()
return remove_internal(node, internal)