diff --git a/api/agent_test.go b/api/agent_test.go index 37f45f9997d3..e6731bb29ad6 100644 --- a/api/agent_test.go +++ b/api/agent_test.go @@ -168,7 +168,7 @@ func TestAPI_AgentMembersOpts(t *testing.T) { members, err = agent.MembersOpts(MembersOpts{ WAN: true, - Filter: `Tags["dc"] == notExist`, + Filter: `Tags["dc"] == "not-Exist"`, }) if err != nil { t.Fatalf("err: %v", err)