From c3b4afc13969e263c3919d7e145f7584ce1f6d2e Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Tue, 4 Mar 2014 08:56:10 -0700 Subject: [PATCH] Fix JoinCommand comment. --- server/join_command.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/server/join_command.go b/server/join_command.go index 919ee7848..871faedf8 100644 --- a/server/join_command.go +++ b/server/join_command.go @@ -14,12 +14,10 @@ func init() { // The JoinCommand adds a node to the cluster. // -// The command returns two values back to binary format. -// The first value is a Uvarint representing the the join_index. -// The second value is a single byte flag representing whether the joining -// node is a peer (0) or a proxy (1). +// The command returns the join_index (Uvarint) and peer flag (peer=0, proxy=1) +// in following binary format: // -// 8 bytes | 1 byte +// 8 bytes | 1 byte // join_index | join_mode // type JoinCommand struct {