Skip to content

Commit

Permalink
Exit when image is invalid (#1810)
Browse files Browse the repository at this point in the history
  • Loading branch information
shatakshiiii authored Jul 3, 2024
1 parent dea3218 commit dc68a28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ansible_navigator/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ def pull_image(args: Any) -> None:
if image_puller.assessment.pull_required:
image_puller.prologue_stdout()
image_puller.pull_stdout()
if image_puller.assessment.exit_messages:
error_and_exit_early(image_puller.assessment.exit_messages)


def run(args: ApplicationConfiguration) -> ActionReturn:
Expand Down

0 comments on commit dc68a28

Please sign in to comment.