Skip to content

Commit

Permalink
test: add test for long usb port path
Browse files Browse the repository at this point in the history
  • Loading branch information
huettern committed Jan 10, 2025
1 parent 11db19e commit a7c2674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxmox/config_qemu_usb.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ func (id UsbDeviceID) String() string {
type UsbPortID string // regex: \d+-\d+

const (
UsbPortID_Error_Invalid string = "invalid usb port id. Expected expression of the form 'x-y[.z]' where x, y, and z are integers"
UsbPortID_Error_Invalid string = "invalid usb port id. Expected expression of the form '<bus>-<port>(.<port>)*' where bus and port are integers"
)

func (id UsbPortID) String() string {
Expand Down

0 comments on commit a7c2674

Please sign in to comment.