Skip to content

Commit

Permalink
fix: Fix output_command_result call
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock committed Oct 5, 2021
1 parent 49a0461 commit 511dbd6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kluctl/cli/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ def deploy_command2(obj, kwargs, cmd_ctx):

result = cmd_ctx.deployment_collection.deploy(cmd_ctx.k8s_cluster, kwargs["force_apply"],
kwargs["replace_on_error"], kwargs["force_replace_on_error"], kwargs["abort_on_error"])
deleted_objects = cmd_ctx.deployment_collection.find_orphan_objects(cmd_ctx.k8s_cluster)
output_command_result(kwargs["output"], cmd_ctx.deployment_collection, result, deleted_objects)
output_command_result(kwargs["output"], cmd_ctx.deployment_collection, result)
if result.errors:
sys.exit(1)

Expand Down

0 comments on commit 511dbd6

Please sign in to comment.