1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-20 10:50:08 +03:00

F #1684: Fix wild vm nic hotplug (#2834)

This commit is contained in:
Daniel Clavijo Coca 2019-01-21 09:33:40 -06:00 committed by Ruben S. Montero
parent ffdbf0bab1
commit f174b71b4b

View File

@ -273,7 +273,7 @@ class Container
# Removes the context section from the LXD configuration and unmap the
# context device
def detach_context
return unless @one.has_context?
return 'no context' unless @one.has_context?
csrc = @lxc['devices']['context']['source'].clone