Skip to content

Commit

Permalink
fix(tests): remove merge annotations from kapicorp#993
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoVoges committed Apr 26, 2023
1 parent 114a4ad commit e273eb8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions kapitan/inputs/kadet.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,21 +92,13 @@ def compile_file(self, file_path, compile_path, ext_vars, **kwargs):
ext_vars is not used in Kadet
kwargs:
output: default 'yaml', accepts 'json'
<<<<<<< HEAD
prune_output: default False
=======
prune_input: default False
>>>>>>> dcd110c (Fix typo in kadet prune input handling)
reveal: default False, set to reveal refs on compile
target_name: default None, set to current target being compiled
indent: default 2
"""
output = kwargs.get("output", "yaml")
<<<<<<< HEAD
prune_output = kwargs.get("prune_output", False)
=======
prune_input = kwargs.get("prune_input", False)
>>>>>>> dcd110c (Fix typo in kadet prune input handling)
reveal = kwargs.get("reveal", False)
target_name = kwargs.get("target_name", None)
# inventory_path = kwargs.get("inventory_path", None)
Expand Down Expand Up @@ -143,11 +135,7 @@ def compile_file(self, file_path, compile_path, ext_vars, **kwargs):
raise CompileError(f"Could not load Kadet module: {spec.name[16:]}")

output_obj = _to_dict(output_obj)
<<<<<<< HEAD
if prune_output:
=======
if prune_input:
>>>>>>> dcd110c (Fix typo in kadet prune input handling)
output_obj = prune_empty(output_obj)

# Return None if output_obj has no output
Expand Down

0 comments on commit e273eb8

Please sign in to comment.