mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-07-16 23:54:41 +08:00
add versioning
This commit is contained in:
parent
33d5778a46
commit
2fd6b65a9e
@ -6,7 +6,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
VERSION = "0.20"
|
VERSION = "0.21"
|
||||||
)
|
)
|
||||||
|
|
||||||
var cmdVersion = &Command{
|
var cmdVersion = &Command{
|
||||||
|
@ -293,7 +293,7 @@ func runVolume(cmd *Command, args []string) bool {
|
|||||||
}()
|
}()
|
||||||
log.Println("store joined at", *masterNode)
|
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)
|
e := http.ListenAndServe(":"+strconv.Itoa(*vport), nil)
|
||||||
if e != nil {
|
if e != nil {
|
||||||
log.Fatalf("Fail to start:%s", e.Error())
|
log.Fatalf("Fail to start:%s", e.Error())
|
||||||
|
Loading…
Reference in New Issue
Block a user