Revert "Fixes Broken Error Message on Subnet Creation"

This will break subnet creation.

This reverts commit 13c9b30078.

Change-Id: I00aaeac7cd51080781822dbe7b0205835ba506b3
This commit is contained in:
Zhenguo Niu 2015-11-11 07:24:54 +00:00
parent 13c9b30078
commit ee9d11e506

View File

@ -525,8 +525,8 @@ class CreateNetwork(workflows.Workflow):
network_id = network.id
network_name = network.name
else:
network_id = self.context.get('net_id')
network_name = self.context.get('net_name')
network_id = self.context.get('network_id')
network_name = self.context.get('network_name')
try:
params = {'network_id': network_id,
'name': data['subnet_name']}