lib/ufo/stack.rb in ufo-4.0.0 vs lib/ufo/stack.rb in ufo-4.0.1
- old
+ new
@@ -40,11 +40,11 @@
def deploy
@stack = find_stack(@stack_name)
if @stack && rollback_complete?(@stack)
puts "Existing stack in ROLLBACK_COMPLETE state. Deleting stack before continuing."
cloudformation.delete_stack(stack_name: @stack_name)
- @status.wait
- @status.reset
+ status.wait
+ status.reset
@stack = nil # at this point stack has been deleted
end
exit_with_message(@stack) if @stack && !updatable?(@stack)