etcdserver: change default id to 0x1

This commit is contained in:
Xiang Li 2014-09-04 22:26:42 -07:00
parent c1e7a788cd
commit bca8f9e0ed

View File

@ -15,7 +15,7 @@ import (
) )
var ( var (
fid = flag.String("id", "0xBEEF", "Id of this server") fid = flag.String("id", "0x1", "Id of this server")
timeout = flag.Duration("timeout", 10*time.Second, "Request Timeout") timeout = flag.Duration("timeout", 10*time.Second, "Request Timeout")
laddr = flag.String("l", ":8080", "HTTP service address (e.g., ':8080')") laddr = flag.String("l", ":8080", "HTTP service address (e.g., ':8080')")
@ -23,7 +23,7 @@ var (
) )
func init() { func init() {
peers.Set("0xBEEF=localhost:8080") peers.Set("0x1=localhost:8080")
flag.Var(peers, "peers", "your peers") flag.Var(peers, "peers", "your peers")
} }