1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00

fix: typo in check cmd (#7733)

Signed-off-by: emmanuel-ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
Emmanuel Ferdman 2023-07-02 12:40:14 +03:00 committed by GitHub
parent b9d3e9bb58
commit a1bc85a912
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ func checkEnvVar(logger logr.Logger, name string) {
func validateEnvVar(name string) error {
if os.Getenv(name) == "" {
return errors.New("environement variable must be defined")
return errors.New("environment variable must be defined")
}
return nil
}