Skip to content

Commit

Permalink
remove date code but leave versioning code
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgopack4 committed Sep 18, 2024
1 parent 5c5a632 commit 34c2400
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/builder/internal/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ configuration is provided, ocb will generate a default Collector.

func initConfig(flags *flag.FlagSet) error {
cfg.Logger.Info("OpenTelemetry Collector Builder",
zap.String("version", version), zap.String("date", date))
zap.String("version", version))

var provider koanf.Provider

Expand Down
1 change: 0 additions & 1 deletion cmd/builder/internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (

var (
version = ""
date = "unknown"
)

// binVersion returns the version of the binary.
Expand Down

0 comments on commit 34c2400

Please sign in to comment.