From 2fd6b65a9e7db98eed8ea60d3ecc7f6ac7407695 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 26 Sep 2012 20:35:14 -0700 Subject: [PATCH] add versioning --- weed-fs/src/cmd/weed/version.go | 2 +- weed-fs/src/cmd/weed/volume.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/weed-fs/src/cmd/weed/version.go b/weed-fs/src/cmd/weed/version.go index 7e7d27583..6ee0b61b4 100644 --- a/weed-fs/src/cmd/weed/version.go +++ b/weed-fs/src/cmd/weed/version.go @@ -6,7 +6,7 @@ import ( ) const ( - VERSION = "0.20" + VERSION = "0.21" ) var cmdVersion = &Command{ diff --git a/weed-fs/src/cmd/weed/volume.go b/weed-fs/src/cmd/weed/volume.go index 2b75c2f75..5a09548a5 100644 --- a/weed-fs/src/cmd/weed/volume.go +++ b/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())