lib/chef/knife/topo_create.rb in knife-topo-1.0.1 vs lib/chef/knife/topo_create.rb in knife-topo-1.1.0
- old
+ new
@@ -82,10 +82,10 @@
# Add topology item to the data bag on the server
begin
topo.create
rescue Net::HTTPServerException => e
raise unless e.to_s =~ /^409/
- msg = "Topology #{display_name(topo)} already exists - do you want to update it"
+ msg = "Topology #{topo_name} already exists - do you want to update it"
msg = msg + " to version " + format_topo_version(topo) if topo['version']
ui.confirm(msg, true, false)
topo.save
end