From: Russell Bryant Date: Thu, 22 Jan 2015 18:47:22 +0000 (-0500) Subject: hyperv: drop useless messaging.Target on HyperVSecurityAgent X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=05648979b65b0d1010ad750707128e8ff1ffbd8a;p=openstack-build%2Fneutron-build.git hyperv: drop useless messaging.Target on HyperVSecurityAgent HyperVSecurityAgent includes a messaging.Target() definition. However, this is unnecessary as this class is not an rpc API endpoint. Just remove it. Part of blueprint rpc-docs-and-namespaces. Change-Id: I8402079c1992453aaab1f989d70f2c5c37ebc2bd --- diff --git a/neutron/plugins/hyperv/agent/hyperv_neutron_agent.py b/neutron/plugins/hyperv/agent/hyperv_neutron_agent.py index 21517c61e..79c9f9368 100644 --- a/neutron/plugins/hyperv/agent/hyperv_neutron_agent.py +++ b/neutron/plugins/hyperv/agent/hyperv_neutron_agent.py @@ -80,8 +80,6 @@ config.register_agent_state_opts_helper(cfg.CONF) class HyperVSecurityAgent(sg_rpc.SecurityGroupAgentRpcMixin): - target = messaging.Target(version='1.1') - def __init__(self, context, plugin_rpc): super(HyperVSecurityAgent, self).__init__() self.context = context