Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide more meaningful error messages when the kit push command fails #394

Open
brett-hodges opened this issue Jul 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@brett-hodges
Copy link
Contributor

brett-hodges commented Jul 5, 2024

Describe the problem you're trying to solve
Please refer to Closed Issue #393

kit push returns an ambiguous error message when the command fails because a Registry doesn't support Repository names with multiple-levels beyond what is expected.

For example, the current error message use case mentioned above is:

Pushing jozu.ml/jozu-test/repo-level-testing/mymodel:latest
Failed to push: failed to copy to remote: Not Found (additional info: {"status":404,"error":"Not Found"})

Describe the solution you'd like
The error message should clearly specify that the issue is with multi-level Repository name.
For example, consider:
Failed to push: failed to copy to remote registry: Multi-level repository names are not supported at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant