Skip to content

Commit

Permalink
use right func
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Oct 29, 2020
1 parent 7c4e13a commit bbfe5c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws/resource_aws_sagemaker_code_repository_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func testAccCheckAWSSagemakerCodeRepositoryDestroy(s *terraform.State) error {
continue
}

codeRepository, err := finder.FincCodeRepositoryByName(conn, rs.Primary.ID)
codeRepository, err := finder.CodeRepositoryByName(conn, rs.Primary.ID)
if err != nil {
return nil
}
Expand All @@ -212,7 +212,7 @@ func testAccCheckAWSSagemakerCodeRepositoryExists(n string, codeRepo *sagemaker.
}

conn := testAccProvider.Meta().(*AWSClient).sagemakerconn
resp, err := finder.FincCodeRepositoryByName(conn, rs.Primary.ID)
resp, err := finder.CodeRepositoryByName(conn, rs.Primary.ID)
if err != nil {
return err
}
Expand Down

0 comments on commit bbfe5c4

Please sign in to comment.