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:
parent
c0a8b77afd
commit
d0d62927e6
|
@ -156,7 +156,7 @@ class SecurityGroupAgentRpcApiMixin(object):
|
||||||
def security_groups_provider_updated(self, context,
|
def security_groups_provider_updated(self, context,
|
||||||
devices_to_update=None):
|
devices_to_update=None):
|
||||||
"""Notify provider updated security groups."""
|
"""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(),
|
topic=self._get_security_group_topic(),
|
||||||
fanout=True)
|
fanout=True)
|
||||||
cctxt.cast(context, 'security_groups_provider_updated',
|
cctxt.cast(context, 'security_groups_provider_updated',
|
||||||
|
|
Loading…
Reference in New Issue