Skip to content

Commit

Permalink
fix hcl array
Browse files Browse the repository at this point in the history
  • Loading branch information
freeznet committed Sep 26, 2024
1 parent 19e973a commit 4e8d7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pulsar/resource_pulsar_tenant.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func resourcePulsarTenantUpdate(ctx context.Context, d *schema.ResourceData, met
client := getClientFromMeta(meta).Tenants()

tenant := d.Get("tenant").(string)
adminRoles := handleHCLArray(d, "admin_roles")
adminRoles := handleHCLArrayV2(d.Get("admin_roles").(*schema.Set).List())
allowedClusters := handleHCLArrayV2(d.Get("allowed_clusters").(*schema.Set).List())

input := utils.TenantData{
Expand Down

0 comments on commit 4e8d7b6

Please sign in to comment.