You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Support building with Go 1.17
Fixesopen-telemetry#65
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
* Update workflows to use Go 1.17
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
* Add gosec exceptions for exec.Command
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
Copy file name to clipboardExpand all lines: cmd/root.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ func Execute() error {
75
75
cmd.Flags().BoolVar(&cfg.Distribution.IncludeCore, "include-core", true, "Whether the core components should be included in the distribution")
76
76
cmd.Flags().StringVar(&cfg.Distribution.OtelColVersion, "otelcol-version", cfg.Distribution.OtelColVersion, "Which version of OpenTelemetry Collector to use as base")
77
77
cmd.Flags().StringVar(&cfg.Distribution.OutputPath, "output-path", cfg.Distribution.OutputPath, "Where to write the resulting files")
78
-
cmd.Flags().StringVar(&cfg.Distribution.Go, "go", "/usr/bin/go", "The Go binary to use during the compilation phase")
78
+
cmd.Flags().StringVar(&cfg.Distribution.Go, "go", "", "The Go binary to use during the compilation phase. Default: go from the PATH")
79
79
cmd.Flags().StringVar(&cfg.Distribution.Module, "module", "github.com/open-telemetry/opentelemetry-collector-builder", "The Go module for the new distribution")
0 commit comments