File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
packages/clients/src/api/baremetal/v1 Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 88 waitForResource ,
99} from '../../../bridge'
1010import type { Zone as ScwZone , WaitForOptions } from '../../../bridge'
11- import { SERVER_TRANSIENT_STATUSES } from './content.gen'
1211import {
1312 marshalAddOptionServerRequest ,
1413 marshalCreateServerRequest ,
@@ -176,8 +175,7 @@ export class API extends ParentAPI {
176175 ) =>
177176 waitForResource (
178177 options ?. stop ??
179- ( res =>
180- Promise . resolve ( ! SERVER_TRANSIENT_STATUSES . includes ( res . status ) ) ) ,
178+ ( res => Promise . resolve ( ! ServerStatus . includes ( res . status ) ) ) ,
181179 this . getServer ,
182180 request ,
183181 options ,
Original file line number Diff line number Diff 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
792794const marshalSchemaPool = (
Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ export interface SchemaPartition {
112112 label : SchemaPartitionLabel
113113 number : number
114114 size : number
115+ useAllAvailableSpace : boolean
115116}
116117
117118export interface SchemaPool {
You can’t perform that action at this time.
0 commit comments