template/getter.go
Method templatedConfigGetter.GetAndFlagSecretData
has 5 return statements (exceeds 4 allowed). Open
Open
func (t templatedConfigGetter) GetAndFlagSecretData(configID string) (*api.Config, bool, error) {
if t.dependencies == nil {
return nil, false, errors.New("no config provider available")
}
Method templatedSecretGetter.Get
has 5 return statements (exceeds 4 allowed). Open
Open
func (t templatedSecretGetter) Get(secretID string) (*api.Secret, error) {
if t.dependencies == nil {
return nil, errors.New("no secret provider available")
}