Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinyblargon committed May 2, 2023
1 parent e185126 commit 9fa3565
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions proxmox/config_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -1164,16 +1164,12 @@ func NewConfigQemuFromJson(input []byte) (config *ConfigQemu, err error) {
}

var (
rxIso = regexp.MustCompile(`(.*?),media`)
rxDeviceID = regexp.MustCompile(`\d+`)
rxDiskName = regexp.MustCompile(`(virtio|scsi|ide|sata)\d+`)
rxDiskType = regexp.MustCompile(`\D+`)
rxUnusedDiskName = regexp.MustCompile(`^(unused)\d+`)
rxNicName = regexp.MustCompile(`net\d+`)
rxMpName = regexp.MustCompile(`mp\d+`)
rxSerialName = regexp.MustCompile(`serial\d+`)
rxUsbName = regexp.MustCompile(`usb\d+`)
rxDiskPath = regexp.MustCompile(`^\/dev\/.*`)
rxPCIName = regexp.MustCompile(`hostpci\d+`)
rxIpconfigName = regexp.MustCompile(`ipconfig\d+`)
)
Expand Down

0 comments on commit 9fa3565

Please sign in to comment.