Skip to content

Commit

Permalink
Merge "Fix incorrect sequence number for NodeStatus UVE in analytics-…
Browse files Browse the repository at this point in the history
…nodemgr introspect"
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Apr 13, 2015
2 parents 20aba95 + 80b244d commit df13d27
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/nodemgr/AnalyticsNodemgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,9 @@ def process(self):
Config = self.read_config_data(config_file)
self.get_collector_list(Config)
_disc = self.get_discovery_client(Config)
try:
from opserver.sandesh.analytics.ttypes import *
sandesh_pkg_dir = 'opserver.sandesh'
except:
from analytics.ttypes import *
sandesh_pkg_dir = 'analytics'
sandesh_global.init_generator(self.module_id, socket.gethostname(),
node_type_name, self.instance_id, self.collector_addr,
self.module_id, 8104, [sandesh_pkg_dir],_disc)
self.module_id, 8104, ['analytics'], _disc)
sandesh_global.set_logging_params(enable_local_log=True)
self.sandesh_global = sandesh_global

Expand Down

0 comments on commit df13d27

Please sign in to comment.