We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27b0a36 commit 826455fCopy full SHA for 826455f
ec2/spark_ec2.py
@@ -694,10 +694,10 @@ def real_main():
694
(master_nodes, slave_nodes) = get_existing_cluster(
695
conn, opts, cluster_name, die_on_error=False)
696
697
- print "Are you sure you want to destroy the cluster " + \
698
- cluster_name + "?\nThe following instances will be terminated:"
+ print "Are you sure you want to destroy the cluster %s?" % cluster_name
+ print "The following instances will be terminated:"
699
for inst in master_nodes + slave_nodes:
700
- print inst
+ print inst.public_dns_name
701
702
response = raw_input("ALL DATA ON ALL NODES WILL BE LOST!!\n" +
703
"Destroy cluster " + cluster_name + " (y/N): ")
0 commit comments