Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Brendan Le Glaunec <[email protected]>
  • Loading branch information
wozz and Ullaakut authored Dec 20, 2023
1 parent 3346e22 commit 1754d01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/module/go_get_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func NewGoGetFetcher(goBinaryName, gogetDir string, envVars []string, fs afero.F
goBinaryName: goBinaryName,
envVars: envVars,
gogetDir: gogetDir,
sfg: new(singleflight.Group),
sfg: &singleflight.Group{},
}, nil
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/module/go_vcs_lister.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func NewVCSLister(goBinPath string, env []string, fs afero.Fs) UpstreamLister {
goBinPath: goBinPath,
env: env,
fs: fs,
sfg: new(singleflight.Group),
sfg: &singleflight.Group{},
}
}

Expand Down

0 comments on commit 1754d01

Please sign in to comment.