From d0fb3c3ebb5bebd10141c812f2db80a386a9362e Mon Sep 17 00:00:00 2001 From: Anna Winkler <3526523+annawinkler@users.noreply.github.com> Date: Tue, 17 May 2022 15:37:13 -0600 Subject: [PATCH] Log the warning that agent pool cleanup failed --- helper_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper_test.go b/helper_test.go index b772d39a2..fe4d0eac7 100644 --- a/helper_test.go +++ b/helper_test.go @@ -60,7 +60,7 @@ func createAgentPool(t *testing.T, client *Client, org *Organization) (*AgentPoo return pool, func() { if err := client.AgentPools.Delete(ctx, pool.ID); err != nil { - t.Errorf("Error destroying agent pool! WARNING: Dangling resources "+ + t.Logf("Error destroying agent pool! WARNING: Dangling resources "+ "may exist! The full error is shown below.\n\n"+ "Agent pool ID: %s\nError: %s", pool.ID, err) }