Skip to content

Commit 6f815f3

Browse files
scaleway-botyfodil
andauthored
feat: add field custom_partitioning_supported to OS (#2206)
Co-authored-by: Yacine Fodil <[email protected]>
1 parent 8cb3c83 commit 6f815f3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

api/baremetal/v1/baremetal_sdk.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,9 @@ type OS struct {
883883

884884
// Allowed: defines if a specific Organization is allowed to install this OS type.
885885
Allowed bool `json:"allowed"`
886+
887+
// CustomPartitioningSupported: defines if custom partitioning is supported by this OS.
888+
CustomPartitioningSupported bool `json:"custom_partitioning_supported"`
886889
}
887890

888891
// Offer: offer.
@@ -1765,7 +1768,6 @@ func NewAPI(client *scw.Client) *API {
17651768
client: client,
17661769
}
17671770
}
1768-
17691771
func (s *API) Zones() []scw.Zone {
17701772
return []scw.Zone{scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2}
17711773
}
@@ -2680,7 +2682,6 @@ func NewPrivateNetworkAPI(client *scw.Client) *PrivateNetworkAPI {
26802682
client: client,
26812683
}
26822684
}
2683-
26842685
func (s *PrivateNetworkAPI) Zones() []scw.Zone {
26852686
return []scw.Zone{scw.ZoneFrPar2}
26862687
}

0 commit comments

Comments
 (0)