Skip to content

Commit 5cddaec

Browse files
committed
fix linter
1 parent 85db779 commit 5cddaec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/service/advancedclustertpf/resource.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,18 +102,18 @@ func (r *rs) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, res
102102
if req.Plan.Raw.IsNull() || req.State.Raw.IsNull() || req.Config.Raw.IsNull() { // Continue only if everything is set, this happens in Create, Delete or Import
103103
return
104104
}
105-
var plan, state, config TFModel
105+
var plan, state, cfg TFModel
106106
diags := &resp.Diagnostics
107107
diags.Append(req.Plan.Get(ctx, &plan)...)
108108
diags.Append(req.State.Get(ctx, &state)...)
109-
diags.Append(req.Config.Get(ctx, &config)...)
109+
diags.Append(req.Config.Get(ctx, &cfg)...)
110110
if diags.HasError() {
111111
return
112112
}
113113
if !schemafunc.HasUnknowns(&plan) { // Don't do anything if there are no unknowns, this happens in Read
114114
return
115115
}
116-
useStateForUnknowns(ctx, diags, &state, &plan, &config) // Do only for Update
116+
useStateForUnknowns(ctx, diags, &state, &plan, &cfg) // Do only for Update
117117
if diags.HasError() {
118118
return
119119
}

0 commit comments

Comments
 (0)