Delete the right tag

"role" != "consul"
pull/1873/head
Sean Chittenden 2016-03-25 14:31:48 -07:00
parent b1194e83cb
commit d18e4d7455
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ func TestIsConsulServer(t *testing.T) {
t.Fatalf("unexpected bootstrap") t.Fatalf("unexpected bootstrap")
} }
delete(m.Tags, "consul") delete(m.Tags, "role")
ok, parts = server_details.IsConsulServer(m) ok, parts = server_details.IsConsulServer(m)
if ok { if ok {
t.Fatalf("unexpected ok server") t.Fatalf("unexpected ok server")