mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
parent
ffdbf0bab1
commit
f174b71b4b
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user