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) => {
351351 )
352352 }
353353
354- return { } as ServerMaintenance
354+ return { reason : data . reason } as ServerMaintenance
355355}
356356
357357const unmarshalServerTypeCapabilities = ( data : unknown ) => {
@@ -1542,7 +1542,9 @@ const marshalServerLocation = (
15421542const marshalServerMaintenance = (
15431543 request : ServerMaintenance ,
15441544 defaults : DefaultValues ,
1545- ) : Record < string , unknown > => ( { } )
1545+ ) : Record < string , unknown > => ( {
1546+ reason : request . reason ,
1547+ } )
15461548
15471549const marshalSetSecurityGroupRulesRequestRule = (
15481550 request : SetSecurityGroupRulesRequestRule ,
Original file line number Diff line number Diff line change @@ -579,7 +579,9 @@ export interface ServerLocation {
579579 zoneId : string
580580}
581581
582- export interface ServerMaintenance { }
582+ export interface ServerMaintenance {
583+ reason : string
584+ }
583585
584586export interface ServerSummary {
585587 id : string
You can’t perform that action at this time.
0 commit comments