summaryrefslogtreecommitdiffstats
path: root/saltstack-adapter/saltstack-adapter-provider/src/main
diff options
context:
space:
mode:
authorGanesh Chandrasekaran <ganesh.c@samsung.com>2019-10-07 11:38:20 +0900
committerGanesh Chandrasekaran <ganesh.c@samsung.com>2019-10-13 23:33:26 +0000
commitfe8c4ae15a2301db06f1a1b217b8db82f4716211 (patch)
tree639f254a7b75f6af2a20989f312e47e550d6ac38 /saltstack-adapter/saltstack-adapter-provider/src/main
parent13c99391e9100df582bf999f7a1a65ac8655fbc6 (diff)
Test cases fix
Change-Id: I2de47d5c7c8b41a2e2536f9f9ffaec1193d8f5ba Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com> Issue-ID: CCSDK-1806 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
Diffstat (limited to 'saltstack-adapter/saltstack-adapter-provider/src/main')
-rw-r--r--saltstack-adapter/saltstack-adapter-provider/src/main/java/org/onap/ccsdk/sli/adaptors/saltstack/impl/ConnectionBuilder.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/saltstack-adapter/saltstack-adapter-provider/src/main/java/org/onap/ccsdk/sli/adaptors/saltstack/impl/ConnectionBuilder.java b/saltstack-adapter/saltstack-adapter-provider/src/main/java/org/onap/ccsdk/sli/adaptors/saltstack/impl/ConnectionBuilder.java
index 9f1799821..48469fdd5 100644
--- a/saltstack-adapter/saltstack-adapter-provider/src/main/java/org/onap/ccsdk/sli/adaptors/saltstack/impl/ConnectionBuilder.java
+++ b/saltstack-adapter/saltstack-adapter-provider/src/main/java/org/onap/ccsdk/sli/adaptors/saltstack/impl/ConnectionBuilder.java
@@ -134,6 +134,9 @@ public class ConnectionBuilder {
return result;
}
+ /**
+ * Print Reasonable error messages based on SSH Exit status code
+ * */
public SaltstackResult sortExitStatus(int exitStatus, String errMess, String cmd) {
SaltstackResult result = new SaltstackResult();
if (exitStatus == 255 || exitStatus == 1) {