Skip to content

Commit

Permalink
fix: Exit with 0 after successful build
Browse files Browse the repository at this point in the history
  • Loading branch information
jamilraichouni committed Oct 23, 2024
1 parent 4b41816 commit 93f89dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions capella_addons/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,7 @@ def build_workspace(
status = response.get("result", BuildWorkspaceStatus.FAILED.value)
if status == BuildWorkspaceStatus.SUCCEED.value:
click.echo("Build of workspace succeeded.")
sys.exit(0)
elif status == BuildWorkspaceStatus.CANCELLED.value:
click.echo("Build of workspace cancelled.")
elif status == BuildWorkspaceStatus.WITH_ERROR.value:
Expand Down

0 comments on commit 93f89dc

Please sign in to comment.