Skip to content

Commit

Permalink
fix(tests): remove merge annotations from #993 (#994)
Browse files Browse the repository at this point in the history
* fix(tests): remove merge annotations from #993

* docs(inventory): fix path to introduction
  • Loading branch information
MatteoVoges authored Apr 28, 2023
1 parent 114a4ad commit 4371233
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 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
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ nav:
- Documentation:
- Overview: pages/kapitan_overview.md
- Inventory:
- Introduction: /inventory/introduction.md
- Introduction: pages/inventory/introduction.md
- Targets: pages/inventory/targets.md
- Classes: pages/inventory/classes.md
- Parameters Interpolation: pages/inventory/parameters_interpolation.md
Expand Down

0 comments on commit 4371233

Please sign in to comment.