Skip to content

Commit

Permalink
Bus and slot are strings
Browse files Browse the repository at this point in the history
  • Loading branch information
william-gr committed Nov 25, 2024
1 parent 773554d commit bb8f6c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/middlewared/middlewared/api/v25_04_0/virt_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb8f6c3

Please sign in to comment.