fix issue in context_funcs.go

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero
2022-05-17 17:37:47 +08:00
parent d83e9214e6
commit 10c3eb61a5
+3
View File
@@ -41,6 +41,9 @@ func (c *Context) createFuncMap() template.FuncMap {
funcMap["exec"] = func(string, []interface{}, ...string) (string, error) {
return "", nil
}
funcMap["envExec"] = func(map[string]interface{}, string, []interface{}, ...string) (string, error) {
return "", nil
}
funcMap["readFile"] = func(string) (string, error) {
return "", nil
}