Fix broken method signiture

GET on a network in os-networks API would fail because
of the signiture mismatch. This fixes the issue.

Change-Id: I4865e93a6a2ad26aa4abcc78b1056152c2b59369
This commit is contained in:
Tomoe Sugihara
2012-02-20 16:47:55 +09:00
parent 757d8aa6f5
commit 1ebf522fbe

View File

@@ -38,7 +38,7 @@ class API(base.Base):
FLAGS.network_topic,
{'method': 'get_all_networks'})
def get(self, context, fixed_range, network_uuid):
def get(self, context, network_uuid):
return rpc.call(context,
FLAGS.network_topic,
{'method': 'get_network',