Update system_info_collectors_handler.py

This commit is contained in:
Shay Nehmad 2020-01-08 21:06:02 +02:00
parent 41fa1d3e3f
commit 26355540bd
1 changed files with 1 additions and 4 deletions

View File

@ -2,14 +2,11 @@ import logging
from typing import Sequence from typing import Sequence
from infection_monkey.system_info.system_info_collector import SystemInfoCollector from infection_monkey.system_info.system_info_collector import SystemInfoCollector
from telemetry.system_info_telem import SystemInfoTelem from infection_monkey.telemetry.system_info_telem import SystemInfoTelem
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)
PATH_TO_COLLECTORS = "infection_monkey.system_info.collectors."
# TODO Add new collectors to config and config schema
class SystemInfoCollectorsHandler(object): class SystemInfoCollectorsHandler(object):
def __init__(self): def __init__(self):
self.collectors_list = self.config_to_collectors_list() self.collectors_list = self.config_to_collectors_list()