Skip to content

Commit 3e4c3db

Browse files
apply PR suggestions
1 parent d6f8b0d commit 3e4c3db

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

  • stackit/internal/services/alb/applicationloadbalancer

stackit/internal/services/alb/applicationloadbalancer/resource.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,15 +1301,6 @@ func (r *applicationLoadBalancerResource) Update(ctx context.Context, req resour
13011301

13021302
ctx = core.LogResponse(ctx)
13031303

1304-
ctx = utils.SetAndLogStateFields(ctx, &resp.Diagnostics, &resp.State, map[string]interface{}{
1305-
"project_id": projectId,
1306-
"region": region,
1307-
"name": *updateResp.Name,
1308-
})
1309-
if resp.Diagnostics.HasError() {
1310-
return
1311-
}
1312-
13131304
waitResp, err := wait.CreateOrUpdateLoadbalancerWaitHandler(ctx, r.client, projectId, region, *updateResp.Name).SetTimeout(90 * time.Minute).WaitWithContext(ctx)
13141305
if err != nil {
13151306
core.LogAndAddError(ctx, &resp.Diagnostics, "Error updating Application Load Balancer", fmt.Sprintf("Application Load Balancer update waiting: %v", err))

0 commit comments

Comments
 (0)