Fix RPC version to be a string

The RPC version was being passed as a float which caused an
exception.

Change-Id: I2a2888fcafcc426009fc841b81049a22e072ce75
Closes-Bug: #1467087
This commit is contained in:
Darragh O'Reilly 2015-06-20 11:55:27 +00:00
parent c0a8b77afd
commit d0d62927e6
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ class SecurityGroupAgentRpcApiMixin(object):
def security_groups_provider_updated(self, context,
devices_to_update=None):
"""Notify provider updated security groups."""
cctxt = self.client.prepare(version=1.3,
cctxt = self.client.prepare(version='1.3',
topic=self._get_security_group_topic(),
fanout=True)
cctxt.cast(context, 'security_groups_provider_updated',