slight edit
This commit is contained in:
parent
71549c0dea
commit
970585c75d
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue