Skip to content

Commit

Permalink
fix creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinzeng committed Feb 7, 2024
1 parent 55cdc51 commit df920ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clickhouse/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ func (r *ServiceResource) Create(ctx context.Context, req resource.CreateRequest
return
}

service.IpAccessList = []IpAccess{}
for _, item := range plan.IpAccessList {
service.IpAccessList = append(service.IpAccessList, IpAccess{
Source: string(item.Source.ValueString()),
Expand Down

0 comments on commit df920ba

Please sign in to comment.