From bb8f6c3dede02cb6d895074cfe253a3b61ecc673 Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Mon, 25 Nov 2024 13:40:22 -0300 Subject: [PATCH] Bus and slot are strings --- src/middlewared/middlewared/api/v25_04_0/virt_device.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/middlewared/middlewared/api/v25_04_0/virt_device.py b/src/middlewared/middlewared/api/v25_04_0/virt_device.py index da3ad73c143cd..4683b82dfbb94 100644 --- a/src/middlewared/middlewared/api/v25_04_0/virt_device.py +++ b/src/middlewared/middlewared/api/v25_04_0/virt_device.py @@ -108,8 +108,8 @@ class VirtDeviceGPUChoicesArgs(BaseModel): class GPUChoice(BaseModel): - bus: int - slot: int + bus: str + slot: str description: str vendor: str | None = None pci: str