mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
friendlier print of Pilosa/version on start
This commit is contained in:
parent
2bcd86492e
commit
b4e9c909ba
2 changed files with 1 additions and 5 deletions
|
|
@ -13,7 +13,6 @@ import (
|
|||
"syscall"
|
||||
|
||||
"github.com/coreos/go-etcd/etcd"
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
"tux21b.org/v1/gocql/uuid"
|
||||
)
|
||||
|
||||
|
|
@ -36,7 +35,6 @@ type Service struct {
|
|||
}
|
||||
|
||||
func NewService() *Service {
|
||||
log.Println(spew.Sdump("NewService"))
|
||||
service := new(Service)
|
||||
service.init_id()
|
||||
service.Etcd = etcd.NewClient(nil)
|
||||
|
|
@ -50,6 +48,7 @@ func NewService() *Service {
|
|||
service.version = "0.0.9"
|
||||
service.name = "Cruncher"
|
||||
service.PrepareLogging()
|
||||
fmt.Printf("Pilosa %s\n", service.version)
|
||||
return service
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,6 @@ import (
|
|||
"pilosa/dispatch"
|
||||
"pilosa/executor"
|
||||
"pilosa/transport"
|
||||
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
||||
type Cruncher struct {
|
||||
|
|
@ -16,7 +14,6 @@ type Cruncher struct {
|
|||
}
|
||||
|
||||
func (cruncher *Cruncher) Run() {
|
||||
spew.Dump("Cruncher.Run")
|
||||
// go cruncher.Cleanup()
|
||||
cruncher.Service.Run()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue