slight edit

This commit is contained in:
Alex Grintsvayg 2019-06-26 11:47:53 -04:00
parent 71549c0dea
commit 970585c75d
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

@ -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))
}