]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix RPC version to be a string
authorDarragh O'Reilly <darragh.oreilly@hp.com>
Sat, 20 Jun 2015 11:55:27 +0000 (11:55 +0000)
committerDarragh O'Reilly <darragh.oreilly@hp.com>
Sat, 20 Jun 2015 12:42:20 +0000 (12:42 +0000)
The RPC version was being passed as a float which caused an
exception.

Change-Id: I2a2888fcafcc426009fc841b81049a22e072ce75
Closes-Bug: #1467087

neutron/api/rpc/handlers/securitygroups_rpc.py

index fa7488faceb105833f87ef77f4469cb9a6a984ad..c8115d0d096c5ba8e035700657084a5e1f2a6003 100644 (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',