lib/heirloom/cli/destroy.rb in heirloom-0.4.0 vs lib/heirloom/cli/destroy.rb in heirloom-0.4.1rc1

- old
+ new

@@ -11,9 +11,12 @@ :opts => @opts exit 1 unless valid_options? :provided => @opts, :required => [:name, :id], :logger => @logger + + ensure_domain_exists :name => @opts[:name], :config => @config + @name = @opts[:name] @id = @opts[:id] @archive = Archive.new :name => @name, :id => @id, :config => @config