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