Commit cae5cf0 1 parent df1f650 commit cae5cf0 Copy full SHA for cae5cf0
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ func (d *clusterDataSource) Read(
73
73
req datasource.ReadRequest ,
74
74
resp * datasource.ReadResponse ,
75
75
) {
76
- var data models.ClusterDataSource
76
+ var data models.Cluster
77
77
78
78
// Read Terraform configuration data into the model
79
79
resp .Diagnostics .Append (req .Config .Get (ctx , & data )... )
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ import (
10
10
"github.com/hashicorp/terraform-plugin-framework/types"
11
11
)
12
12
13
- // ClusterDataSource describes the data source data model.
14
- type ClusterDataSource struct {
13
+ // Cluster describes the resource data source data model.
14
+ type Cluster struct {
15
15
Id types.String `tfsdk:"id"`
16
16
Name types.String `tfsdk:"name"`
17
17
CloudProvider types.String `tfsdk:"cloud_provider"`
@@ -52,7 +52,7 @@ type NodePool struct {
52
52
UpdatedAt types.String `tfsdk:"updated_at"`
53
53
}
54
54
55
- func (data * ClusterDataSource ) ReadFromResponse (
55
+ func (data * Cluster ) ReadFromResponse (
56
56
ctx context.Context ,
57
57
cluster * platform.Cluster ,
58
58
) diag.Diagnostics {
You can’t perform that action at this time.
0 commit comments