Skip to content

Commit

Permalink
Merge pull request #278 from jcristau/diff-exit-2
Browse files Browse the repository at this point in the history
diff: exit 2 in case we find differences
  • Loading branch information
matt-boris authored Dec 18, 2024
2 parents 39d7017 + 99faaab commit 50e64df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcadmin/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ async def diffCommand(**kwargs):
actual = await current.resources(expected.managed)
different = diff.show_diff(expected, actual)
if different:
sys.exit(1)
sys.exit(2)

@cmd.command(name="check")
@options.generate_options.apply
Expand Down

0 comments on commit 50e64df

Please sign in to comment.