Skip to content

Commit

Permalink
Merge pull request #14165 from terraform-providers/t-fix-workspaces-w…
Browse files Browse the repository at this point in the history
…orkspace-sweeper-dependency

Corrects name of Workspaces Workspace sweeper
  • Loading branch information
gdavison committed Jul 15, 2020
2 parents a1f0dd6 + 3c9c8a6 commit 9194062
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aws/resource_aws_workspaces_workspace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ import (
)

func init() {
resource.AddTestSweepers("aws_workspace", &resource.Sweeper{
Name: "aws_workspace",
F: testSweepWorkspaces,
resource.AddTestSweepers("aws_workspaces_workspace", &resource.Sweeper{
Name: "aws_workspaces_workspace",
F: testSweepWorkspacesWorkspace,
})
}

func testSweepWorkspaces(region string) error {
func testSweepWorkspacesWorkspace(region string) error {
client, err := sharedClientForRegion(region)
if err != nil {
return fmt.Errorf("error getting client: %w", err)
Expand Down

0 comments on commit 9194062

Please sign in to comment.