From d12b172a5d4d8e317735adcd7f73fb45526b57fa Mon Sep 17 00:00:00 2001 From: James Phillips Date: Tue, 5 Sep 2017 13:50:38 -0700 Subject: [PATCH] Remaps servers to "" only when listing multiple segments. --- command/members.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/members.go b/command/members.go index 1e69c0dcf2..ff38696384 100644 --- a/command/members.go +++ b/command/members.go @@ -83,7 +83,7 @@ func (c *MembersCommand) Run(args []string) int { if member.Tags["segment"] == "" { member.Tags["segment"] = "" } - if member.Tags["role"] == "consul" { + if segment == consulapi.AllSegments && member.Tags["role"] == "consul" { member.Tags["segment"] = "" } statusString := serf.MemberStatus(member.Status).String()