fix(operator): Printing of version
@@ -24,9 +24,9 @@ import (
var log = logf.Log.WithName("cmd")
func printVersion() {
- log.Info(fmt.Sprintf("Go Version: %s", runtime.Version()))
- log.Info(fmt.Sprintf("Go OS/Arch: %s/%s", runtime.GOOS, runtime.GOARCH))
- log.Info(fmt.Sprintf("Version of operator-sdk: %v", sdkVersion.Version))
+ log.Info(fmt.Sprintf("Go Version: " + runtime.Version()))
+ log.Info(fmt.Sprintf("Go OS/Arch: " + runtime.GOOS + "/" + runtime.GOARCH))
+ log.Info(fmt.Sprintf("Version of operator-sdk: " + sdkVersion.Version))
}
func main() {
