Skip to content

Commit

Permalink
User: use the correct object attributes when building the namespace a…
Browse files Browse the repository at this point in the history
…ccess list
  • Loading branch information
briankassouf committed Nov 15, 2024
1 parent 0b8f167 commit 28cac1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/user_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ func updateUserModelFromSpec(ctx context.Context, diags diag.Diagnostics, state
namespaceAccessObjects = append(namespaceAccessObjects, obj)
}

accesses, d := types.ListValueFrom(ctx, types.ObjectType{AttrTypes: namespaceCertificateFilterAttrs}, namespaceAccessObjects)
accesses, d := types.ListValueFrom(ctx, types.ObjectType{AttrTypes: userNamespaceAccessAttrs}, namespaceAccessObjects)
diags.Append(d...)
if diags.HasError() {
return
Expand Down

0 comments on commit 28cac1f

Please sign in to comment.