Signed-off-by: YAMADA Hideki <[email protected]>
---
 ryu/app/ws_topology.py |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ryu/app/ws_topology.py b/ryu/app/ws_topology.py
index 5679c9b..ee63bf8 100644
--- a/ryu/app/ws_topology.py
+++ b/ryu/app/ws_topology.py
@@ -59,7 +59,7 @@ class WebSocketTopology(app_manager.RyuApp):
         self.rpc_clients = []
 
         wsgi = kwargs['wsgi']
-        wsgi.register(TopologyController, {'app': self})
+        wsgi.register(WebSocketTopologyController, {'app': self})
 
     @set_ev_cls(event.EventSwitchEnter)
     def _event_switch_enter_handler(self, ev):
@@ -92,10 +92,10 @@ class WebSocketTopology(app_manager.RyuApp):
                 self.logger.error(e)
 
 
-class TopologyController(ControllerBase):
+class WebSocketTopologyController(ControllerBase):
 
     def __init__(self, req, link, data, **config):
-        super(TopologyController, self).__init__(req, link, data, **config)
+        super(WebSocketTopologyController, self).__init__(req, link, data, 
**config)
         self.app = data['app']
 
     @websocket('topology', '/v1.0/topology/ws')
-- 
1.7.9.5


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to