Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kasia-kujawa committed Nov 12, 2024
1 parent 24cbc9f commit caf828c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions castai/data_source_resource_rebalancing_schedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ func dataSourceRebalancingSchedule() *schema.Resource {
// other parameters are "computed" from existing rebalancing schedule
dataSourceRebalancingSchedule.Schema[key].Computed = true
dataSourceRebalancingSchedule.Schema[key].Required = false
// MaxItems is for configurable attributes, there's nothing to configure on computed-only field
dataSourceRebalancingSchedule.Schema[key].MaxItems = 0
}
}
return dataSourceRebalancingSchedule
Expand Down

0 comments on commit caf828c

Please sign in to comment.