(functions map[string]string)
| 116 | } |
| 117 | |
| 118 | func validateFunctions(functions map[string]string) error { |
| 119 | for name := range functions { |
| 120 | if isReservedFunctionName(name) { |
| 121 | return fmt.Errorf("you cannot use '%s' as a function name as its an internally used special function. Please choose another name", name) |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | return nil |
| 126 | } |
| 127 | |
| 128 | func validateVars(vars map[string]*latest.Variable) error { |
| 129 | for i, v := range vars { |
no test coverage detected