From d3ddfa110c40240542a9debe8a386f32f9c817d9 Mon Sep 17 00:00:00 2001 From: Jarrett Spiker Date: Tue, 2 Aug 2022 11:31:06 -0400 Subject: [PATCH] Fix type in fetchAgentPoolID function name Co-authored-by: Sebastian Rivera --- tfe/agent_pool_helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tfe/agent_pool_helpers.go b/tfe/agent_pool_helpers.go index 270251815..01a6724de 100644 --- a/tfe/agent_pool_helpers.go +++ b/tfe/agent_pool_helpers.go @@ -6,7 +6,7 @@ import ( tfe "github.com/hashicorp/go-tfe" ) -func fetchtAgentPoolID(orgName string, poolName string, client *tfe.Client) (string, error) { +func fetchAgentPoolID(orgName string, poolName string, client *tfe.Client) (string, error) { // to reduce the number of pages returned, search based on the name. TFE instances which // do not support agent pool search will just ignore the query parameter options := tfe.AgentPoolListOptions{