Skip to content

Commit

Permalink
Bugfix: bad use of errors.Join
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardGomezEscandell committed Oct 25, 2023
1 parent 307c8ff commit 23ab47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows-agent/internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ func (c *Config) UpdateRegistrySettings(ctx context.Context, cacheDir string, db
for _, f := range []getTask{(*Config).getTaskOnNewSubscription, (*Config).getTaskOnNewLandscape} {
task, err := f(c, ctx, cacheDir, db)
if err != nil {
errors.Join(acc, err)
acc = errors.Join(acc, err)
continue
}
if task != nil {
Expand Down

0 comments on commit 23ab47b

Please sign in to comment.