Skip to content

Commit

Permalink
Log the warning that agent pool cleanup failed
Browse files Browse the repository at this point in the history
  • Loading branch information
annawinkler committed May 17, 2022
1 parent 1241af2 commit d0fb3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit d0fb3c3

Please sign in to comment.