Skip to content

Conversation

sudo-bmitch
Copy link
Contributor

Fixes issue

Fixes #750

Describe the change

On a regctl registry set or regctl registry login, return a non-zero if the registry ping fails. This is skipped when --skip-check is passed.

How to verify it

Perform regctl registry set to a non-existent registry, or regctl registry login with an invalid credential.

Changelog text

  • Breaking: regctl registry set and regctl registry login will return a non-zero if the ping fails.

Please verify and check that the pull request fulfills the following requirements

  • Tests have been added or not applicable
  • Documentation has been added, updated, or not applicable
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit 372142f into regclient:main May 26, 2024
@sudo-bmitch sudo-bmitch deleted the pr-regctl-login-fail branch May 26, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Return a non-zero exit code if login fails
1 participant