Skip to content

Commit

Permalink
Passing UVE collectors in proper way
Browse files Browse the repository at this point in the history
Change-Id: I068b2f8dbdea048d4647be54a340abea5ec1734c
Partial-Bug: #1780422
  • Loading branch information
krzysztofg256 committed Jul 18, 2018
1 parent 9c21dea commit 6d99f12
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cvm/__main__.py
Expand Up @@ -2,6 +2,7 @@

import argparse
import logging
import random
import socket
import sys

Expand Down Expand Up @@ -98,6 +99,8 @@ def build_monitor(config, lock, database):

def run_introspect(cfg, database, lock):
sandesh_config = cfg['sandesh']
sandesh_config['collectors'] = sandesh_config['collectors'].split()
random.shuffle(sandesh_config['collectors'])
sandesh_config.update({
'id': Module.VCENTER_MANAGER,
'hostname': socket.gethostname(),
Expand Down

0 comments on commit 6d99f12

Please sign in to comment.