VMEdit: investigate removal of potentially uselss parameters
Here is the VMEdit structure as defined in common/params/vms.go:
type VMEdit struct {
Name string `json:"name" validate:"required,min=4,max=256"`
Cpus int `json:"cpus" validate:"required,gte=1,lte=16"`
Ram int `json:"ram" validate:"required,gte=256,lte=32768"`
Nic vm.NicType `json:"nic" validate:"required`
UsbDevs []string `json:"usbDevs" validate:"required`
CpusUpdated bool
RamUpdated bool
}
The CpusUpdated and RamUpdated parameters can probably be removed. It would be cleaner to do so on both client and server side. Investigate if this is doable.