(name, fieldName string, whitelist []string)
| 210 | } |
| 211 | |
| 212 | func (c *configAST) appendAllowInsecure(name, fieldName string, whitelist []string) { |
| 213 | if len(whitelist) == 0 { |
| 214 | return |
| 215 | } |
| 216 | |
| 217 | c.appendStringSliceField(name, fieldName, whitelist) |
| 218 | } |
| 219 | |
| 220 | // removePatch removes the patch field from the named package. |
| 221 | func (c *configAST) removePatch(name string) { |
no test coverage detected