Skip to content

Commit 528494b

Browse files
authored
Merge branch 'main' into reduce-blocked-ranges-on-gh-windows-runners
2 parents 3b824a2 + 291aa24 commit 528494b

File tree

1 file changed

+1
-1
lines changed
  • cmd/builder/internal/builder

1 file changed

+1
-1
lines changed

cmd/builder/internal/builder/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func Generate(cfg Config) error {
7474
}
7575
// create a warning message for non-aligned builder and collector base
7676
if cfg.Distribution.OtelColVersion != defaultOtelColVersion {
77-
cfg.Logger.Info("You're building a distribution with non-aligned version of the builder. Compilation may fail due to API changes. Please upgrade your builder or API", zap.String("builder-version", defaultOtelColVersion))
77+
cfg.Logger.Info("You're building a distribution with non-aligned version of the builder. The version mismatch may cause a compilation failure. It's recommended to use the same version.", zap.String("collector-version", cfg.Distribution.OtelColVersion), zap.String("builder-version", defaultOtelColVersion))
7878
}
7979
// if the file does not exist, try to create it
8080
if _, err := os.Stat(cfg.Distribution.OutputPath); os.IsNotExist(err) {

0 commit comments

Comments
 (0)