Skip to content

Commit

Permalink
Update resource_external_logging_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
fivetran-aleksandrboldyrev committed Nov 1, 2023
1 parent afecc03 commit accc61b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fivetran/resource_external_logging_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func testFivetranExternalLoggingResourceDestroy(s *terraform.State) error {
if err.Error() != "status code: 404; expected: 200" {
return err
}
if response.Code != "NotFound" {
if !strings.HasPrefix(response.Code, "NotFound") {

Check failure on line 118 in fivetran/resource_external_logging_test.go

View workflow job for this annotation

GitHub Actions / build

undefined: strings
return errors.New("External Logging " + rs.Primary.ID + " still exists. Response code: " + response.Code)
}

Expand Down

0 comments on commit accc61b

Please sign in to comment.