Fix govet errors in generators

This commit is contained in:
Clayton Coleman
2018-09-13 17:44:46 -04:00
parent 9f5c2aea1a
commit defd8713ac
15 changed files with 196 additions and 197 deletions

View File

@@ -124,10 +124,10 @@ func readFile(file string) ([]byte, error) {
// ParamNames returns the set of supported input parameters when using the parameter injection generator pattern
func (s SecretForTLSGeneratorV1) ParamNames() []generate.GeneratorParam {
return []generate.GeneratorParam{
{"name", true},
{"key", true},
{"cert", true},
{"append-hash", false},
{Name: "name", Required: true},
{Name: "key", Required: true},
{Name: "cert", Required: true},
{Name: "append-hash", Required: false},
}
}