Skip to content

Commit 39c57dc

Browse files
committed
fixing syntax
1 parent 43917cc commit 39c57dc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

internal/service/docdbelastic/cluster.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func (r *resourceCluster) Create(ctx context.Context, request resource.CreateReq
197197
}
198198

199199
if !plan.BackupRetentionPeriod.IsNull() || !plan.BackupRetentionPeriod.IsUnknown() {
200-
input.BackupRetentionPeriod = flex.Int32FromFramework(ctx, plan.BackupRetentionPeriod),
200+
input.BackupRetentionPeriod = flex.Int32FromFramework(ctx, plan.BackupRetentionPeriod)
201201
}
202202

203203
if !plan.SubnetIds.IsNull() || !plan.SubnetIds.IsUnknown() {

internal/service/docdbelastic/cluster_test.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
// Copyright (c) HashiCorp, Inc.
32
// SPDX-License-Identifier: MPL-2.0
43

@@ -398,7 +397,7 @@ resource "aws_docdbelastic_cluster" "test" {
398397
auth_type = "PLAIN_TEXT"
399398
400399
preferred_maintenance_window = "tue:04:00-tue:04:30"
401-
400+
402401
backup_retention_period = 2
403402
preferred_backup_window = "03:00-04:00"
404403

0 commit comments

Comments
 (0)