Browse Source

Merge pull request #1557 from bcwaldon/id-logging

etcdserver: fix logging of IDs
Brian Waldon 11 years ago
parent
commit
308b8796e4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      etcdserver/server.go

+ 1 - 1
etcdserver/server.go

@@ -724,7 +724,7 @@ func startNode(cfg *ServerConfig, ids []types.ID) (id types.ID, n raft.Node, w *
 		peers[i] = raft.Peer{ID: uint64(id), Context: ctx}
 		peers[i] = raft.Peer{ID: uint64(id), Context: ctx}
 	}
 	}
 	id = member.ID
 	id = member.ID
-	log.Printf("etcdserver: start node %x in cluster %x", id.String(), cfg.Cluster.ID().String())
+	log.Printf("etcdserver: start node %s in cluster %s", id, cfg.Cluster.ID())
 	n = raft.StartNode(uint64(id), peers, 10, 1)
 	n = raft.StartNode(uint64(id), peers, 10, 1)
 	return
 	return
 }
 }