File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
packages/clients/src/api/instance/v1 Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ const unmarshalServerMaintenance = (data: unknown) => {
351
351
)
352
352
}
353
353
354
- return { } as ServerMaintenance
354
+ return { reason : data . reason } as ServerMaintenance
355
355
}
356
356
357
357
const unmarshalServerTypeCapabilities = ( data : unknown ) => {
@@ -1542,7 +1542,9 @@ const marshalServerLocation = (
1542
1542
const marshalServerMaintenance = (
1543
1543
request : ServerMaintenance ,
1544
1544
defaults : DefaultValues ,
1545
- ) : Record < string , unknown > => ( { } )
1545
+ ) : Record < string , unknown > => ( {
1546
+ reason : request . reason ,
1547
+ } )
1546
1548
1547
1549
const marshalSetSecurityGroupRulesRequestRule = (
1548
1550
request : SetSecurityGroupRulesRequestRule ,
Original file line number Diff line number Diff line change @@ -579,7 +579,9 @@ export interface ServerLocation {
579
579
zoneId : string
580
580
}
581
581
582
- export interface ServerMaintenance { }
582
+ export interface ServerMaintenance {
583
+ reason : string
584
+ }
583
585
584
586
export interface ServerSummary {
585
587
id : string
You can’t perform that action at this time.
0 commit comments