ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkuliche...@apache.org
Subject [11/26] incubator-ignite git commit: IGNITE-1166 Fixed typo in interactive restart.
Date Mon, 03 Aug 2015 20:43:06 GMT
IGNITE-1166 Fixed typo in interactive restart.


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

Branch: refs/heads/ignite-104
Commit: a889abd11e4df2eef84fe7d82a0c2f0b8a670fb0
Parents: fdb493e
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Wed Jul 29 15:25:46 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Wed Jul 29 15:25:46 2015 +0700

----------------------------------------------------------------------
 .../org/apache/ignite/visor/commands/kill/VisorKillCommand.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a889abd1/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/kill/VisorKillCommand.scala
----------------------------------------------------------------------
diff --git a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/kill/VisorKillCommand.scala
b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/kill/VisorKillCommand.scala
index f94e3ee..6cd1ffa 100644
--- a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/kill/VisorKillCommand.scala
+++ b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/kill/VisorKillCommand.scala
@@ -256,7 +256,7 @@ class VisorKillCommand extends VisorConsoleCommand {
         askForHost("Select host from:") match {
             case Some(p) => ask("Do you want to [k]ill or [r]estart? (k/r) [r]: ", "r")
match {
                 case "k" | "K" => killOrRestart(p.nodes().map(_.id), false)
-                case "r" | "R" => killOrRestart(p.nodes().map(_.id), false)
+                case "r" | "R" => killOrRestart(p.nodes().map(_.id), true)
                 case x => nl(); warn("Invalid answer: " + x)
             }
             case None => ()


Mime
View raw message