geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r696506 - /geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/FarmCommand.groovy
Date Wed, 17 Sep 2008 22:51:57 GMT
Author: djencks
Date: Wed Sep 17 15:51:57 2008
New Revision: 696506

URL: http://svn.apache.org/viewvc?rev=696506&view=rev
Log:
GERONIMO-4284 missed bugfixes from earlier commit 

Modified:
    geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/FarmCommand.groovy

Modified: geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/FarmCommand.groovy
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/FarmCommand.groovy?rev=696506&r1=696505&r2=696506&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/FarmCommand.groovy
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/FarmCommand.groovy
Wed Sep 17 15:51:57 2008
@@ -68,7 +68,7 @@
             }
         } else if (action == "add-plugin-to-cluster") {
             if (params.size == 3) {
-                results = farm.addPluginToCluster()(params[0], params[1], params[2]);
+                results = farm.addPluginToCluster(params[0], params[1], params[2]);
             } else {
                 io.out.println("add-plugin requires 3 parameters, cluster name, plugin list
name and the artifact")
                 return;
@@ -80,7 +80,7 @@
         io.out.println("Results:")
         for (Map.Entry<String, DownloadResults> entry in results) {
             io.out.println("results for node: " + entry.getKey());
-            CommandInstallCAR.printResults(consoleReader, results, time);
+            CommandInstallCAR.printResults(consoleReader, entry.getValue(), 0);
         }
     }
 }



Mime
View raw message