add versioning

This commit is contained in:
Chris Lu 2012-09-26 20:35:14 -07:00
parent 33d5778a46
commit 2fd6b65a9e
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ import (
)
const (
VERSION = "0.20"
VERSION = "0.21"
)
var cmdVersion = &Command{

View file

@ -293,7 +293,7 @@ func runVolume(cmd *Command, args []string) bool {
}()
log.Println("store joined at", *masterNode)
log.Println("Start storage service at http://" + *ip + ":" + strconv.Itoa(*vport))
log.Println("Start Weed volume server", VERSION, "at http://" + *ip + ":" + strconv.Itoa(*vport))
e := http.ListenAndServe(":"+strconv.Itoa(*vport), nil)
if e != nil {
log.Fatalf("Fail to start:%s", e.Error())