Skip to content

Commit ab8caa4

Browse files
committed
s3tables
1 parent 908dd52 commit ab8caa4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

internal/service/s3tables/table_bucket_replication.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func (r *tableBucketReplicationResource) Read(ctx context.Context, request resou
140140
tableBucketARN := fwflex.StringValueFromFramework(ctx, data.TableBucketARN)
141141
output, err := findTableBucketReplicationByARN(ctx, conn, tableBucketARN)
142142

143-
if tfresource.NotFound(err) {
143+
if retry.NotFound(err) {
144144
response.Diagnostics.Append(fwdiag.NewResourceNotFoundWarningDiagnostic(err))
145145
response.State.RemoveResource(ctx)
146146

internal/service/s3tables/table_bucket_replication_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func testAccCheckTableBucketReplicationDestroy(ctx context.Context) resource.Tes
145145

146146
_, err := tfs3tables.FindTableBucketReplicationByARN(ctx, conn, rs.Primary.Attributes["table_bucket_arn"])
147147

148-
if tfresource.NotFound(err) {
148+
if retry.NotFound(err) {
149149
continue
150150
}
151151

internal/service/s3tables/table_replication.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func (r *tableReplicationResource) Read(ctx context.Context, request resource.Re
140140
tableARN := fwflex.StringValueFromFramework(ctx, data.TableARN)
141141
output, err := findTableReplicationByARN(ctx, conn, tableARN)
142142

143-
if tfresource.NotFound(err) {
143+
if retry.NotFound(err) {
144144
response.Diagnostics.Append(fwdiag.NewResourceNotFoundWarningDiagnostic(err))
145145
response.State.RemoveResource(ctx)
146146

internal/service/s3tables/table_replication_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func testAccCheckTableReplicationDestroy(ctx context.Context) resource.TestCheck
145145

146146
_, err := tfs3tables.FindTableReplicationByARN(ctx, conn, rs.Primary.Attributes["table_arn"])
147147

148-
if tfresource.NotFound(err) {
148+
if retry.NotFound(err) {
149149
continue
150150
}
151151

0 commit comments

Comments
 (0)