Skip to content

Commit 7880c83

Browse files
scaleway-botLaure-dijremy42
authored
feat(baremetal): add max_size instead of specific size for partitioning (#1913)
Co-authored-by: Laure-di <[email protected]> Co-authored-by: Jonathan R. <[email protected]>
1 parent eb805a7 commit 7880c83

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/clients/src/api/baremetal/v1/marshalling.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ const unmarshalSchemaPartition = (data: unknown): SchemaPartition => {
7777
label: data.label,
7878
number: data.number,
7979
size: data.size,
80+
useAllAvailableSpace: data.use_all_available_space,
8081
} as SchemaPartition
8182
}
8283

@@ -787,6 +788,7 @@ const marshalSchemaPartition = (
787788
label: request.label,
788789
number: request.number,
789790
size: request.size,
791+
use_all_available_space: request.useAllAvailableSpace,
790792
})
791793

792794
const marshalSchemaPool = (

packages/clients/src/api/baremetal/v1/types.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export interface SchemaPartition {
112112
label: SchemaPartitionLabel
113113
number: number
114114
size: number
115+
useAllAvailableSpace: boolean
115116
}
116117

117118
export interface SchemaPool {

0 commit comments

Comments
 (0)