Kaynağa Gözat

main: log hex of id

Blake Mizerany 11 yıl önce
ebeveyn
işleme
cf91035a36
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -35,7 +35,7 @@ func main() {
 	}
 
 	if peers.Pick(id) == "" {
-		log.Fatalf("%d=<addr> must be specified in peers", id)
+		log.Fatalf("%#x=<addr> must be specified in peers", id)
 	}
 
 	n := raft.Start(id, peers.Ids(), 10, 1)