From 34282df13f6583c9317db4361b5392647f809869 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 30 Jun 2015 17:26:22 +0200 Subject: [PATCH] messaging: remove unused cleanup function Change-Id: Ia85d59529558c427eff3e0c0f3e941ed94186116 Signed-off-by: Julien Danjou --- aodh/messaging.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/aodh/messaging.py b/aodh/messaging.py index 4cead5d51..132ebf4f1 100644 --- a/aodh/messaging.py +++ b/aodh/messaging.py @@ -75,15 +75,6 @@ def get_transport(url=None, optional=False, cache=True): return transport -def cleanup(): - """Cleanup the oslo_messaging layer.""" - global TRANSPORTS, NOTIFIERS - NOTIFIERS = {} - for url in TRANSPORTS: - TRANSPORTS[url].cleanup() - del TRANSPORTS[url] - - def get_rpc_server(transport, topic, endpoint): """Return a configured oslo_messaging rpc server.""" cfg.CONF.import_opt('host', 'aodh.service')