Skip to content

Commit aaff6e7

Browse files
changes after review
Co-authored-by: Mathieu <[email protected]>
1 parent 97b5872 commit aaff6e7

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Diff for: @vates/types/src/xo.mts

+8-8
Original file line numberDiff line numberDiff line change
@@ -242,23 +242,23 @@ export type XoPool = BaseXapiXo & {
242242
cores?: number
243243
sockets?: number
244244
}
245-
crashDumpSr: XoSr['id']
245+
crashDumpSr?: XoSr['id']
246246
current_operations: Record<string, POOL_ALLOWED_OPERATIONS>
247-
defaultSr: XoSr['id']
248-
ha_enabled: boolean
249-
haSrs: XoVdi['id'][]
247+
defaultSr?: XoSr['id']
248+
HA_enabled: boolean
249+
haSrs: XoSr['id'][]
250250
id: Branded<'pool'>
251251
master: XoHost['id']
252-
migrationCompression: boolean
252+
migrationCompression?: boolean
253253
name_description: string
254254
name_label: string
255-
other_config: Record<string, string>
255+
otherConfig: Record<string, string>
256256
platform_version: string
257-
suspendSr: XoSr['id']
257+
suspendSr?: XoSr['id']
258258
tags: string[]
259259
type: 'pool'
260260
vtpmSupported: boolean
261-
xosanPackInstallationTime: number
261+
xosanPackInstallationTime: number | null
262262
zstdSupported: boolean
263263
}
264264

Diff for: @xen-orchestra/rest-api/src/pools/pool.controller.mts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { RestApi } from '../rest-api/rest-api.mjs'
66
import { notFoundResp, unauthorizedResp, type Unbrand } from '../open-api/common/response.common.mjs'
77
import type { WithHref } from '../helpers/helper.type.mjs'
88
import { XapiXoController } from '../abstract-classes/xapi-xo-controller.mjs'
9-
import { XoPool } from '@vates/types'
9+
import type { XoPool } from '@vates/types'
1010
import { partialPools, pool, poolIds } from '../open-api/oa-examples/pool.oa-example.mjs'
1111

1212
@Route('pools')

0 commit comments

Comments
 (0)