Skip to content

Commit

Permalink
awsorgs organization: fix error spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
dschofie committed May 15, 2024
1 parent 34c41b9 commit cdc2193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/awsorgs/organization.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ func (c Client) CloseAccounts(ctx context.Context, accts []*organizations.Accoun
func (c Client) GetRootId() (string, error) {
rootsOutput, err := c.organizationClient.ListRoots(&organizations.ListRootsInput{})
if err != nil {
return "", oops.Wrapf(err, "organizaqtions.ListRootsInput, make sure you have access to organizations from this role")
return "", oops.Wrapf(err, "organizations.ListRootsInput, make sure you have access to organizations from this role")
}
if len(rootsOutput.Roots) > 0 {
return *rootsOutput.Roots[0].Id, nil
Expand Down

0 comments on commit cdc2193

Please sign in to comment.