From 970585c75d9e5bc28753a43bf66a0c5c02e93171 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Wed, 26 Jun 2019 11:47:53 -0400 Subject: [PATCH] slight edit --- cmd/reflector.go | 2 +- cmd/version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/reflector.go b/cmd/reflector.go index 8659056..b700cbb 100644 --- a/cmd/reflector.go +++ b/cmd/reflector.go @@ -27,7 +27,7 @@ func init() { } func reflectorCmd(cmd *cobra.Command, args []string) { - log.Printf("reflector version %s", meta.Version) + log.Printf("reflector version %s, built %s", meta.Version, meta.BuildTime.Format(time.RFC3339)) db := new(db.SQL) err := db.Connect(globalConfig.DBConn) if err != nil { diff --git a/cmd/version.go b/cmd/version.go index d3675bb..4254143 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -18,5 +18,5 @@ func init() { } func versionCmd(cmd *cobra.Command, args []string) { - fmt.Printf("version %s (built at %s)\n", meta.Version, meta.BuildTime.Format(time.RFC3339)) + fmt.Printf("version %s (built %s)\n", meta.Version, meta.BuildTime.Format(time.RFC3339)) }