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

fix: improve error message for missing registry name #1510

Merged
merged 1 commit into from
Jan 20, 2023

Commits on Jan 19, 2023

  1. fix: improve error message for missing registry name

    When a user attempts to build, run or deploy a function and it has not
    been previously built, the `--registry` flag or `FUNC_REGISTRY` environment
    variable must be set so that the image name can be calculated. The
    current error message, `registry required` is not very helpful, and
    requires the user to divine what needs to happen next to fix the
    problem. This change updates the error message text to indicate that the
    user should set the `--registry` flag or `FUNC_REGISTRY` environment
    variable.
    
    Fixes: knative#1504
    
    Signed-off-by: Lance Ball <lball@redhat.com>
    lance committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    7cda849 View commit details
    Browse the repository at this point in the history