diff --git a/src/vmm_mad/remotes/lib/lxd/container.rb b/src/vmm_mad/remotes/lib/lxd/container.rb index 6340cb2619..d1375f8146 100644 --- a/src/vmm_mad/remotes/lib/lxd/container.rb +++ b/src/vmm_mad/remotes/lib/lxd/container.rb @@ -222,7 +222,7 @@ class Container break if %w[Running Stopped].include? real_status end - container.stop(:force => true) if real_status == 'Running' + stop(:force => true) if real_status == 'Running' end end