Browse Source

etcdserver: change default id to 0x1

Xiang Li 11 years ago
parent
commit
bca8f9e0ed
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main.go

+ 2 - 2
main.go

@@ -15,7 +15,7 @@ import (
 )
 
 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")
 	laddr   = flag.String("l", ":8080", "HTTP service address (e.g., ':8080')")
 
@@ -23,7 +23,7 @@ var (
 )
 
 func init() {
-	peers.Set("0xBEEF=localhost:8080")
+	peers.Set("0x1=localhost:8080")
 	flag.Var(peers, "peers", "your peers")
 }