Skip to content

Commit

Permalink
Fixup unchecked error
Browse files Browse the repository at this point in the history
  • Loading branch information
tgrondier committed Dec 20, 2024
1 parent 537179c commit 230e182
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/resources/database/resource_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,11 @@ func UserCreate[T ResourceModelInterface](ctx context.Context, req resource.Crea
}

data.WaitForService(ctx, client, &resp.Diagnostics)
data.CreateResource(ctx, client, &diags)
if resp.Diagnostics.HasError() {
return
}

data.CreateResource(ctx, client, &resp.Diagnostics)
if resp.Diagnostics.HasError() {
return
}
Expand Down

0 comments on commit 230e182

Please # to comment.