Skip to content

Commit

Permalink
refactor: Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
roda82 committed Nov 9, 2023
1 parent 9b428aa commit 3b26eab
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tests/unit/cli/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,23 +221,6 @@ def several_k8s_pre_processors_without_some_arguments_config():
file_name='several_k8s_pre_processors_without_some_arguments_configuration.json')


def generate_k8s_monitors_config(processors_config):
"""
Generate the configuration related to the given k8s processors configuration
"""
generator = ProcessorGenerator()

processors = generator.generate(processors_config)

monitors = {'monitor': {}}

for processor_name, processor in processors.items():
monitors['monitor'][processor_name + MONITOR_NAME_SUFFIX] = {COMPONENT_TYPE_KEY: 'k8s',
LISTENER_ACTOR_KEY: processor}

return monitors


@pytest.fixture
def several_k8s_pre_processors(several_k8s_pre_processors_config):
"""
Expand Down

0 comments on commit 3b26eab

Please sign in to comment.