From 76c34fc182b8b58d7cbf6ebebb4f3a87b56e41eb Mon Sep 17 00:00:00 2001 From: Lauren Date: Tue, 30 Aug 2022 15:15:13 -0400 Subject: [PATCH 1/2] reorder tfe.go to maintain the alphabetical order --- tfe.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tfe.go b/tfe.go index 6d241748c..8f66c633d 100644 --- a/tfe.go +++ b/tfe.go @@ -385,8 +385,8 @@ func NewClient(cfg *Config) (*Client, error) { client.SSHKeys = &sshKeys{client: client} client.StateVersionOutputs = &stateVersionOutputs{client: client} client.StateVersions = &stateVersions{client: client} - client.TaskStages = &taskStages{client: client} client.TaskResults = &taskResults{client: client} + client.TaskStages = &taskStages{client: client} client.Teams = &teams{client: client} client.TeamAccess = &teamAccesses{client: client} client.TeamMembers = &teamMembers{client: client} @@ -580,7 +580,7 @@ func (c *Client) configureLimiter(rawLimit string) { c.limiter = rate.NewLimiter(limit, burst) } -// encodeQueryParams encodes the values into ``URL encoded'' form +// encodeQueryParams encodes the values into “URL encoded” form // ("bar=baz&foo=quux") sorted by key. func encodeQueryParams(v url.Values) string { if v == nil { From 8ef8d2d6766572679bc39998586e0a07b6d3ded8 Mon Sep 17 00:00:00 2001 From: Lauren Date: Tue, 30 Aug 2022 14:30:05 -0500 Subject: [PATCH 2/2] Update tfe.go Co-authored-by: Anna Winkler <3526523+annawinkler@users.noreply.github.com> --- tfe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tfe.go b/tfe.go index 8f66c633d..1ca908c12 100644 --- a/tfe.go +++ b/tfe.go @@ -580,7 +580,7 @@ func (c *Client) configureLimiter(rawLimit string) { c.limiter = rate.NewLimiter(limit, burst) } -// encodeQueryParams encodes the values into “URL encoded” form +// encodeQueryParams encodes the values into "URL encoded" form // ("bar=baz&foo=quux") sorted by key. func encodeQueryParams(v url.Values) string { if v == nil {