@ -141,7 +141,7 @@ func runMaster(cmd *Command, args []string) bool {
log.Println("Start Weed Master", VERSION, "at port", strconv.Itoa(*mport))
e := http.ListenAndServe(":"+strconv.Itoa(*mport), nil)
if e != nil {
log.Fatal("Fail to start:", e)
log.Fatalf("Fail to start:%s", e.Error())
}
return true
@ -6,7 +6,7 @@ import (
)
const (
VERSION = "0.19"
VERSION = "0.20"
var cmdVersion = &Command{
@ -245,7 +245,7 @@ func runVolume(cmd *Command, args []string) bool {
log.Println("Start storage service at http://127.0.0.1:"+strconv.Itoa(*vport), "public url", *publicUrl)
e := http.ListenAndServe(":"+strconv.Itoa(*vport), nil)
log.Fatalf("Fail to start:", e)