Skip to content

Commit

Permalink
merges changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mleone87 committed Jan 20, 2024
2 parents 8a9113d + e1cc849 commit 19d4a3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proxmox/config_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,9 @@ func (ConfigQemu) mapToStruct(vmr *VmRef, params map[string]interface{}) (*Confi
if _, isSet := params["hookscript"]; isSet {
config.Hookscript = params["hookscript"].(string)
}
if _, isSet := params["machine"]; isSet {
config.Machine = params["machine"].(string)
}
if _, isSet := params["memory"]; isSet {
switch params["memory"].(type) {
case float64:
Expand Down

0 comments on commit 19d4a3a

Please sign in to comment.