From f174b71b4ba9227589dd97a00e5d103327a1facf Mon Sep 17 00:00:00 2001 From: Daniel Clavijo Coca Date: Mon, 21 Jan 2019 09:33:40 -0600 Subject: [PATCH] F #1684: Fix wild vm nic hotplug (#2834) --- src/vmm_mad/remotes/lib/lxd/container.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vmm_mad/remotes/lib/lxd/container.rb b/src/vmm_mad/remotes/lib/lxd/container.rb index 99cf724adc..d1a70c7664 100644 --- a/src/vmm_mad/remotes/lib/lxd/container.rb +++ b/src/vmm_mad/remotes/lib/lxd/container.rb @@ -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