Skip to content

Commit

Permalink
fix(node_link): incorrect read when no style
Browse files Browse the repository at this point in the history
  • Loading branch information
CorentinPtrl committed Jan 25, 2025
1 parent 26e0656 commit 328571e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/node_link_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ func (r *nodeLinkResource) Create(ctx context.Context, req resource.CreateReques
return
}

if r.client.IsPro() {
if r.client.IsPro() && plan.Style != nil {
r.MakeNodeStyle(ctx, plan)
rstyle := r.NewStyleModel(ctx, plan)
plan.Style = &rstyle
Expand Down

0 comments on commit 328571e

Please sign in to comment.