vmc-ng/lib/vmc/cli/service.rb in vmc-0.4.0.beta.32 vs vmc-ng/lib/vmc/cli/service.rb in vmc-0.4.0.beta.33
- old
+ new
@@ -229,10 +229,10 @@
instance = input[:instance]
return unless input[:really, instance.name, :name]
with_progress("Deleting #{c(instance.name, :name)}") do |s|
- bindings = instance.service_bindings
+ bindings = v2? ? instance.service_bindings : []
if bindings.empty?
instance.delete!
else
s.skip do