You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ma...@apache.org on 2014/01/09 12:31:44 UTC

git commit: Fixed STRATOS-345 - CLI prompt to set STRATOS_URL though it is already set

Updated Branches:
  refs/heads/master d055f5295 -> 80cdb9d43


Fixed STRATOS-345 - CLI prompt to set STRATOS_URL though it is already set


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/80cdb9d4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/80cdb9d4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/80cdb9d4

Branch: refs/heads/master
Commit: 80cdb9d43a074e9be6110e40dc48850634719ae2
Parents: d055f52
Author: Manula Thantriwatte <ma...@apache.org>
Authored: Thu Jan 9 17:00:56 2014 +0530
Committer: Manula Thantriwatte <ma...@apache.org>
Committed: Thu Jan 9 17:00:56 2014 +0530

----------------------------------------------------------------------
 .../main/java/org/apache/stratos/cli/RestCommandLineService.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/80cdb9d4/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java b/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
index ae25f23..457e040 100644
--- a/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
+++ b/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java
@@ -135,7 +135,7 @@ public class RestCommandLineService {
             System.out.println("Authentication failed!");
             return false;
         } catch (ConnectException e) {
-            System.out.println("Authentication failed. Please set the STRTOS_URL");
+            System.out.println("Could not connect to stratos manager");
             return false;
         } finally {
             httpClient.getConnectionManager().shutdown();