mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
fix: typo in check cmd (#7733)
Signed-off-by: emmanuel-ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
parent
b9d3e9bb58
commit
a1bc85a912
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue