From 05648979b65b0d1010ad750707128e8ff1ffbd8a Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Thu, 22 Jan 2015 13:47:22 -0500 Subject: [PATCH] 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 --- neutron/plugins/hyperv/agent/hyperv_neutron_agent.py | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.45.2