Browse Source

add versioning

pull/2/head
Chris Lu 12 years ago
parent
commit
2fd6b65a9e
  1. 2
      weed-fs/src/cmd/weed/version.go
  2. 2
      weed-fs/src/cmd/weed/volume.go

2
weed-fs/src/cmd/weed/version.go

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

2
weed-fs/src/cmd/weed/volume.go

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

Loading…
Cancel
Save