Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/machine-config-controller/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func runbootstrapCmd(cmd *cobra.Command, args []string) {
flag.Parse()

// To help debugging, immediately log version
glog.Infof("Version: %+v", version.Version)
glog.Infof("Version: %+v (%s)", version.Version, version.Hash)

if bootstrapOpts.manifestsDir == "" || bootstrapOpts.destinationDir == "" {
glog.Fatalf("--dest-dir or --manifest-dir not set")
Expand Down
2 changes: 1 addition & 1 deletion cmd/machine-config-controller/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func runStartCmd(cmd *cobra.Command, args []string) {
flag.Parse()

// To help debugging, immediately log version
glog.Infof("Version: %+v", version.Version)
glog.Infof("Version: %+v (%s)", version.Version, version.Hash)

cb, err := clients.NewBuilder(startOpts.kubeconfig)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion cmd/machine-config-daemon/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func runStartCmd(cmd *cobra.Command, args []string) {
glog.V(2).Infof("Options parsed: %+v", startOpts)

// To help debugging, immediately log version
glog.Infof("Version: %+v", version.Version)
glog.Infof("Version: %+v (%s)", version.Version, version.Hash)

operatingSystem, err := daemon.GetHostRunningOS(startOpts.rootMount)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion cmd/machine-config-operator/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func runBootstrapCmd(cmd *cobra.Command, args []string) {
flag.Parse()

// To help debugging, immediately log version
glog.Infof("Version: %+v", version.Version)
glog.Infof("Version: %+v (%s)", version.Version, version.Hash)

imgs := operator.Images{
MachineConfigController: bootstrapOpts.mccImage,
Expand Down
2 changes: 1 addition & 1 deletion cmd/machine-config-operator/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func runStartCmd(cmd *cobra.Command, args []string) {
flag.Parse()

// To help debugging, immediately log version
glog.Infof("Version: %+v", version.Version)
glog.Infof("Version: %+v (%s)", version.Version, version.Hash)

if startOpts.imagesFile == "" {
glog.Fatal("--images-json cannot be empty")
Expand Down
2 changes: 1 addition & 1 deletion cmd/machine-config-server/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func runBootstrapCmd(cmd *cobra.Command, args []string) {
flag.Parse()

// To help debugging, immediately log version
glog.Infof("Version: %+v", version.Version)
glog.Infof("Version: %+v (%s)", version.Version, version.Hash)

bs, err := server.NewBootstrapServer(bootstrapOpts.serverBaseDir, bootstrapOpts.serverKubeConfig)

Expand Down
2 changes: 1 addition & 1 deletion cmd/machine-config-server/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func runStartCmd(cmd *cobra.Command, args []string) {
flag.Parse()

// To help debugging, immediately log version
glog.Infof("Version: %+v", version.Version)
glog.Infof("Version: %+v (%s)", version.Version, version.Hash)

if startOpts.apiserverURL == "" {
glog.Exitf("--apiserver-url cannot be empty")
Expand Down
2 changes: 1 addition & 1 deletion cmd/setup-etcd-environment/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func runRunCmd(cmd *cobra.Command, args []string) error {
flag.Parse()

// To help debugging, immediately log version
glog.Infof("Version: %+v", version.Version)
glog.Infof("Version: %+v (%s)", version.Version, version.Hash)

if runOpts.discoverySRV == "" {
return errors.New("--discovery-srv cannot be empty")
Expand Down