remove checkResult from salt process
Change-Id: I769d72dae0ff1fdbdb574096aa711ec255e42846
diff --git a/src/com/mirantis/mk/Salt.groovy b/src/com/mirantis/mk/Salt.groovy
index b7e62fe..6d4f8e8 100644
--- a/src/com/mirantis/mk/Salt.groovy
+++ b/src/com/mirantis/mk/Salt.groovy
@@ -152,7 +152,7 @@
return runSaltCommand(master, 'runner', target, 'state.orchestrate', [orchestrate])
}
-def runSaltProcessStep(master, tgt, fun, arg = [], batch = null, output = true) {
+def runSaltProcessStep(master, tgt, fun, arg = [], batch = null, output = false) {
def common = new com.mirantis.mk.Common()
def out
@@ -164,12 +164,8 @@
out = runSaltCommand(master, 'local', ['expression': tgt, 'type': 'compound'], fun, batch, arg)
}
- try {
- checkResult(out)
- } finally {
- if (output == true) {
+ if (output == true) {
printSaltCommandResult(out)
- }
}
}