You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2015/08/31 23:24:53 UTC

[30/50] [abbrv] ignite git commit: IGNITE-1166 Fixed typo in interactive restart.

IGNITE-1166 Fixed typo in interactive restart.


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

Branch: refs/heads/ignite-950
Commit: a889abd11e4df2eef84fe7d82a0c2f0b8a670fb0
Parents: fdb493e
Author: AKuznetsov <ak...@gridgain.com>
Authored: Wed Jul 29 15:25:46 2015 +0700
Committer: AKuznetsov <ak...@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/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 => ()