Skip to content

Commit d1d711d

Browse files
committed
chore(edgecloud): upgrade sdk and set types to int32
1 parent b36d64b commit d1d711d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,6 @@ github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN
153153
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=
154154
github.com/skeema/knownhosts v1.3.1 h1:X2osQ+RAjK76shCbvhHHHVl3ZlgDm8apHEHFqRjnBY8=
155155
github.com/skeema/knownhosts v1.3.1/go.mod h1:r7KTdC8l4uxWRyK2TpQZ/1o5HaSzh06ePQNxPwTcfiY=
156-
github.com/stackitcloud/stackit-sdk-go/core v0.23.0 h1:zPrOhf3Xe47rKRs1fg/AqKYUiJJRYjdcv+3qsS50mEs=
157-
github.com/stackitcloud/stackit-sdk-go/core v0.23.0/go.mod h1:osMglDby4csGZ5sIfhNyYq1bS1TxIdPY88+skE/kkmI=
158156
github.com/stackitcloud/stackit-sdk-go/core v0.24.0 h1:kHCcezCJ5OGSP7RRuGOxD5rF2wejpkEiRr/OdvNcuPQ=
159157
github.com/stackitcloud/stackit-sdk-go/core v0.24.0/go.mod h1:osMglDby4csGZ5sIfhNyYq1bS1TxIdPY88+skE/kkmI=
160158
github.com/stackitcloud/stackit-sdk-go/services/alb v0.12.1 h1:RKaxAymxlyxxE0Gta3yRuQWf07LnlcX+mfGnVB96NHA=

stackit/internal/services/edgecloud/plans/datasource.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ var planTypes = map[string]attr.Type{
3737
"id": types.StringType,
3838
"name": types.StringType,
3939
"description": types.StringType,
40-
"min_edge_hosts": types.Int64Type,
41-
"max_edge_hosts": types.Int64Type,
40+
"min_edge_hosts": types.Int32Type,
41+
"max_edge_hosts": types.Int32Type,
4242
}
4343

4444
// NewPlansDataSource creates a new plan data source.
@@ -109,11 +109,11 @@ func (d *plansDataSource) Schema(_ context.Context, _ datasource.SchemaRequest,
109109
Description: "Description of the plan.",
110110
Computed: true,
111111
},
112-
"min_edge_hosts": schema.Int64Attribute{
112+
"min_edge_hosts": schema.Int32Attribute{
113113
Description: "Minimum number of Edge Cloud hosts charged.",
114114
Computed: true,
115115
},
116-
"max_edge_hosts": schema.Int64Attribute{
116+
"max_edge_hosts": schema.Int32Attribute{
117117
Description: "Maximum number of Edge Cloud hosts that can be used.",
118118
Computed: true,
119119
},

0 commit comments

Comments
 (0)