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:
parent
4f62fb3963
commit
196245c22c
1 changed files with 1 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue