Skip to content

Commit

Permalink
Revert back to 'call' for agent reports
Browse files Browse the repository at this point in the history
Fixes bug 1159581

The logic of the agents is based on RPC call()
since the agent needs to catch an exception over RPC.

Change-Id: I6d408216ebdfd130bab2555e61febd02b521985d
  • Loading branch information
Gary Kotton authored and amotoki committed Mar 25, 2013
1 parent a23ad1c commit 1586cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/agent/rpc.py
Expand Up @@ -58,7 +58,7 @@ def __init__(self, topic):
topic=topic, default_version=self.BASE_RPC_API_VERSION)

def report_state(self, context, agent_state):
return self.cast(context,
return self.call(context,
self.make_msg('report_state',
agent_state={'agent_state':
agent_state},
Expand Down

0 comments on commit 1586cab

Please sign in to comment.