Skip to content

Commit 79b94b4

Browse files
committed
fix: correct linting issues (wsl_v5) and regenerate docs
1 parent 22190b1 commit 79b94b4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

internal/services/mongodb/action_instance_snapshot_action.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ func (a *InstanceSnapshotAction) Invoke(ctx context.Context, req action.InvokeRe
143143
}
144144

145145
var expirationTime *time.Time
146+
146147
if !data.ExpiresAt.IsNull() && data.ExpiresAt.ValueString() != "" {
147148
expirationRaw := data.ExpiresAt.ValueString()
148149

internal/services/mongodb/action_instance_snapshot_action_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ func isSnapshotCreated(tt *acctest.TestTools, instanceResourceName, snapshotName
9595
}
9696

9797
instanceID := rs.Primary.ID
98+
9899
region, id, err := regional.ParseID(instanceID)
99100
if err != nil {
100101
return fmt.Errorf("failed to parse instance ID: %w", err)

0 commit comments

Comments
 (0)