Skip to content

Commit

Permalink
Merge c62b2b9 into b65ccc6
Browse files Browse the repository at this point in the history
  • Loading branch information
rgooch committed Feb 12, 2019
2 parents b65ccc6 + c62b2b9 commit 6f89d7d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hypervisor/manager/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,9 @@ func (m *Manager) copyVm(conn *srpc.Conn, request proto.CopyVmRequest,
vmInfo.Uncommitted = false
vm, err := m.allocateVm(proto.CreateVmRequest{VmInfo: vmInfo},
conn.GetAuthInformation())
if err != nil {
return err
}
vm.OwnerUsers = getInfoReply.VmInfo.OwnerUsers
vm.Volumes = vmInfo.Volumes
if err := <-tryAllocateMemory(vmInfo.MemoryInMiB); err != nil {
Expand Down

0 comments on commit 6f89d7d

Please sign in to comment.