stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From im...@apache.org
Subject [1/2] git commit: Updating list command result header text in CLI
Date Sat, 11 Oct 2014 19:17:23 GMT
Repository: stratos
Updated Branches:
  refs/heads/master b299559d1 -> 2e1a50207


Updating list command result header text in CLI


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

Branch: refs/heads/master
Commit: ba4420e7526ec4754b8b3f8aa508b65e0b463a10
Parents: a6f4efe
Author: Imesh Gunaratne <imesh@apache.org>
Authored: Sun Oct 12 00:47:01 2014 +0530
Committer: Imesh Gunaratne <imesh@apache.org>
Committed: Sun Oct 12 00:47:01 2014 +0530

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


http://git-wip-us.apache.org/repos/asf/stratos/blob/ba4420e7/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 72c7855..8db4b9b 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
@@ -299,6 +299,7 @@ public class RestCommandLineService {
             Cartridge[] cartridges = new Cartridge[cartridgeList.getCartridge().size()];
             cartridges = cartridgeList.getCartridge().toArray(cartridges);
 
+            System.out.println("Cartridges found:");
             CliUtils.printTable(cartridges, cartridgeMapper, "Type", "Name", "Description",
"Version",
                     "Is Multi-Tenant", "Accessibility");
         } catch (Exception e) {
@@ -397,7 +398,7 @@ public class RestCommandLineService {
                 headers.add("Repo URL");
             }
 
-            System.out.println("Cartridge subscriptions:");
+            System.out.println("Cartridge subscriptions found:");
             CliUtils.printTable(cartridges, cartridgeMapper, headers.toArray(new String[headers.size()]));
         } catch (Exception e) {
             String message = "Error in listing cartridge subscriptions";


Mime
View raw message