You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2018/08/15 14:17:55 UTC

ignite git commit: IGNITE-8919 Wrong documentation of exec methods in StartNodeCallableImpl class - Fixes #4535.

Repository: ignite
Updated Branches:
  refs/heads/master 18356a876 -> 534278946


IGNITE-8919 Wrong documentation of exec methods in StartNodeCallableImpl class - Fixes #4535.

Signed-off-by: Dmitriy Pavlov <dp...@apache.org>


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

Branch: refs/heads/master
Commit: 534278946dd6f55809e9dc6b19633b6a67051d21
Parents: 18356a8
Author: Fedotov <va...@gmail.com>
Authored: Wed Aug 15 17:16:06 2018 +0300
Committer: Dmitriy Pavlov <dp...@apache.org>
Committed: Wed Aug 15 17:17:51 2018 +0300

----------------------------------------------------------------------
 .../internal/util/nodestart/StartNodeCallableImpl.java  | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/53427894/modules/ssh/src/main/java/org/apache/ignite/internal/util/nodestart/StartNodeCallableImpl.java
----------------------------------------------------------------------
diff --git a/modules/ssh/src/main/java/org/apache/ignite/internal/util/nodestart/StartNodeCallableImpl.java b/modules/ssh/src/main/java/org/apache/ignite/internal/util/nodestart/StartNodeCallableImpl.java
index 1bf23b3..98c54c4 100644
--- a/modules/ssh/src/main/java/org/apache/ignite/internal/util/nodestart/StartNodeCallableImpl.java
+++ b/modules/ssh/src/main/java/org/apache/ignite/internal/util/nodestart/StartNodeCallableImpl.java
@@ -382,11 +382,11 @@ public class StartNodeCallableImpl implements StartNodeCallable {
     }
 
     /**
-     * Gets the value of the specified environment variable.
+     * Executes command using {@code exec} channel.
      *
      * @param ses SSH session.
-     * @param cmd environment variable name.
-     * @return environment variable value.
+     * @param cmd Command.
+     * @return Output result.
      * @throws JSchException In case of SSH error.
      * @throws IOException If failed.
      */
@@ -395,12 +395,12 @@ public class StartNodeCallableImpl implements StartNodeCallable {
     }
 
     /**
-     * Gets the value of the specified environment variable.
+     * Executes command using {@code exec} channel with setting encoding.
      *
      * @param ses SSH session.
-     * @param cmd environment variable name.
+     * @param cmd Command.
      * @param encoding Process output encoding, {@code null} for default charset encoding.
-     * @return environment variable value.
+     * @return Output result.
      * @throws JSchException In case of SSH error.
      * @throws IOException If failed.
      */