You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whirr.apache.org by to...@apache.org on 2012/07/11 21:19:00 UTC

svn commit: r1360360 - in /whirr/trunk: CHANGES.txt core/src/main/java/org/apache/whirr/util/Utils.java

Author: tomwhite
Date: Wed Jul 11 19:18:59 2012
New Revision: 1360360

URL: http://svn.apache.org/viewvc?rev=1360360&view=rev
Log:
WHIRR-584. Change confusing ssh login help message at the end of deployment. Contributed by Andrew Bayer.

Modified:
    whirr/trunk/CHANGES.txt
    whirr/trunk/core/src/main/java/org/apache/whirr/util/Utils.java

Modified: whirr/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/whirr/trunk/CHANGES.txt?rev=1360360&r1=1360359&r2=1360360&view=diff
==============================================================================
--- whirr/trunk/CHANGES.txt (original)
+++ whirr/trunk/CHANGES.txt Wed Jul 11 19:18:59 2012
@@ -135,6 +135,9 @@ Trunk (unreleased changes)
     WHIRR-568. Use the correct CDH version/repository.
     (Andrew Bayer via tomwhite)
 
+    WHIRR-584. Change confusing ssh login help message at the end of
+    deployment. (Andrew Bayer via tomwhite)
+
 Release 0.7.1 - 2012-02-23
 
   IMPROVEMENTS

Modified: whirr/trunk/core/src/main/java/org/apache/whirr/util/Utils.java
URL: http://svn.apache.org/viewvc/whirr/trunk/core/src/main/java/org/apache/whirr/util/Utils.java?rev=1360360&r1=1360359&r2=1360360&view=diff
==============================================================================
--- whirr/trunk/core/src/main/java/org/apache/whirr/util/Utils.java (original)
+++ whirr/trunk/core/src/main/java/org/apache/whirr/util/Utils.java Wed Jul 11 19:18:59 2012
@@ -49,8 +49,8 @@ public class Utils {
       Cluster cluster, int maxPrint) {
     out.println("\nYou can log into instances using the following ssh commands:");
 
-    String user = clusterSpec.getBootstrapUser() != null ? clusterSpec
-      .getBootstrapUser() : clusterSpec.getClusterUser();
+    String user = clusterSpec.getClusterUser() != null ? clusterSpec
+      .getClusterUser() : clusterSpec.getBootstrapUser();
 
     String pkFile = clusterSpec.getPrivateKeyFile().getAbsolutePath();