From 9f3d530d9d274095a09a26941a8406f945d00292 Mon Sep 17 00:00:00 2001 From: cskh Date: Mon, 24 Jul 2023 18:35:50 -0400 Subject: [PATCH] use quote --- api/agent_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)