Skip to content

Commit

Permalink
Merge pull request #403 from hashicorp/aw/update-test-agent-pools
Browse files Browse the repository at this point in the history
Log the warning that agent pool cleanup failed
  • Loading branch information
brandonc committed May 17, 2022
2 parents 1241af2 + d0fb3c3 commit 11a4eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper_test.go
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 11a4eb9

Please sign in to comment.