mirror of https://github.com/apache/cloudstack.git
fix nic attach warning during restore
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
34960a03d5
commit
6b8a725de4
|
|
@ -8322,6 +8322,10 @@ public class UserVmManagerImpl extends ManagerBase implements UserVmManager, Vir
|
|||
*/
|
||||
protected void updateVmNetwork(AssignVMCmd cmd, Account caller, UserVmVO vm, Account newAccount, VirtualMachineTemplate template)
|
||||
throws InsufficientCapacityException, ResourceAllocationException {
|
||||
if (cmd.isSkipNetwork()) {
|
||||
logger.trace("Skipping network update for {} as per command parameter.", vm);
|
||||
return;
|
||||
}
|
||||
|
||||
logger.trace("Updating network for VM [{}].", vm);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue