|
|
|
@ -206,7 +206,7 @@ func (e Engine) initFunMap(t *template.Template) {
|
|
|
|
|
log.Printf("[INFO] Missing required value: %s", warn)
|
|
|
|
|
return "", nil
|
|
|
|
|
}
|
|
|
|
|
return val, errors.Errorf(warnWrap(warn))
|
|
|
|
|
return val, errors.New(warnWrap(warn))
|
|
|
|
|
} else if _, ok := val.(string); ok {
|
|
|
|
|
if val == "" {
|
|
|
|
|
if e.LintMode {
|
|
|
|
@ -214,7 +214,7 @@ func (e Engine) initFunMap(t *template.Template) {
|
|
|
|
|
log.Printf("[INFO] Missing required value: %s", warn)
|
|
|
|
|
return "", nil
|
|
|
|
|
}
|
|
|
|
|
return val, errors.Errorf(warnWrap(warn))
|
|
|
|
|
return val, errors.New(warnWrap(warn))
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return val, nil
|
|
|
|
|