template/context.go
Method PayloadContext.configGetter
has 5 return statements (exceeds 4 allowed). Open
Open
func (ctx *PayloadContext) configGetter(target string) (string, error) {
if ctx.restrictedConfigs == nil {
return "", errors.New("configs unavailable")
}
Method PayloadContext.secretGetter
has 5 return statements (exceeds 4 allowed). Open
Open
func (ctx *PayloadContext) secretGetter(target string) (string, error) {
if ctx.restrictedSecrets == nil {
return "", errors.New("secrets unavailable")
}