1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

remove redundant parameter grab call, we already have it from the getparamsbypathwctx() (#3722)

This commit is contained in:
Roomba 2024-07-29 07:08:06 +02:00 committed by GitHub
parent 4f62fb3963
commit 196245c22c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -308,10 +308,7 @@ func (pm *ParameterStore) findByName(ctx context.Context, ref esv1beta1.External
if !matcher.MatchName(*param.Name) {
continue
}
err = pm.fetchAndSet(ctx, data, *param.Name)
if err != nil {
return nil, err
}
data[*param.Name] = []byte(*param.Value)
}
nextToken = it.NextToken
if nextToken == nil {