From 06b0a213370256b1c5d828d85e6206c6f9a5a56a Mon Sep 17 00:00:00 2001 From: William Grzybowski <56250+william-gr@users.noreply.github.com> Date: Mon, 25 Nov 2024 13:47:58 -0300 Subject: [PATCH] Bus and slot are strings (#15037) --- 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 da3ad73c143c..4683b82dfbb9 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