Skip to content

Commit

Permalink
INFRA-2595: added ssl value from state beacause provider response null (
Browse files Browse the repository at this point in the history
  • Loading branch information
vbratkev authored Mar 14, 2024
1 parent 9b59bea commit 18de669
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/provider/l7resource_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,8 @@ func (r *l7resourceResource) Read(ctx context.Context, req resource.ReadRequest,
origins = append(origins, flatternL7OriginModel(&originResponse.Data.Result))
}

state = flatternL7ResourceModel(resourceResponse.Data.Result)
results := hackSPSSLState(state, resourceResponse)
state = flatternL7ResourceModel(results.Data.Result)
state.Origins = origins

// Set refreshed state
Expand Down

0 comments on commit 18de669

Please sign in to comment.