Skip to content

Commit

Permalink
fix different go.sum between running make gotidy and make genotelcore…
Browse files Browse the repository at this point in the history
…col (#5116)

Signed-off-by: Ryan Leung <rleungx@gmail.com>
  • Loading branch information
rleungx authored Mar 30, 2022
1 parent 0f07b0b commit 4036157
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 136 deletions.
2 changes: 1 addition & 1 deletion cmd/builder/internal/builder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func GetModules(cfg Config) error {
failReason := "unknown"
for i := 1; i <= retries; i++ {
// #nosec G204
cmd := exec.Command(cfg.Distribution.Go, "mod", "download", "all")
cmd := exec.Command(cfg.Distribution.Go, "mod", "download")
cmd.Dir = cfg.Distribution.OutputPath
if out, err := cmd.CombinedOutput(); err != nil {
failReason = fmt.Sprintf("%s. Output: %q", err, out)
Expand Down
Loading

0 comments on commit 4036157

Please sign in to comment.