fix(xapi): don't try to compute progress on Buffer (#10195)

* fix(xapi): don't try to compute progress on Buffer

introduced by 76b45a9b3b

* port type to vates/types
This commit is contained in:
Florent BEAUCHAMP
2026-07-30 10:19:37 +02:00
committed by GitHub
parent 068c4cdc86
commit 6ba465be04
3 changed files with 31 additions and 12 deletions

View File

@@ -411,7 +411,7 @@ export interface Xapi {
): Promise<Readable & { length?: number }>
VDI_importContent(
vdiRef: XenApiVdi['$ref'],
stream: Readable,
stream: Readable | Buffer,
opts: { cancelToken?: unknown; format: SUPPORTED_VDI_FORMAT }
): Promise<void>
VIF_create(