friendlier print of Pilosa/version on start

This commit is contained in:
travisturner 2014-01-31 10:11:48 -06:00
parent 2bcd86492e
commit b4e9c909ba
2 changed files with 1 additions and 5 deletions

View file

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

View file

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