diff --git a/jenkins/webhook-proxy/main.go b/jenkins/webhook-proxy/main.go index df6f58b3a..da3c2c424 100644 --- a/jenkins/webhook-proxy/main.go +++ b/jenkins/webhook-proxy/main.go @@ -204,7 +204,7 @@ func main() { var allowedChangeRefTypes []string envAllowedChangeRefTypes := strings.ToLower(os.Getenv(allowedChangeRefTypesEnvVar)) - if len(allowedChangeRefTypes) == 0 { + if len(envAllowedChangeRefTypes) == 0 { allowedChangeRefTypes = strings.Split(allowedChangeRefTypesDefault, ",") log.Println( "INFO:",