Revert "fix checkResult"

This reverts commit 76db9e8ad5fa13f1163461abee437a0dc654800f.

Change-Id: I98dcb5d5e4bd05feecda4005ea90bb5fd004f1e1
diff --git a/src/com/mirantis/mk/Salt.groovy b/src/com/mirantis/mk/Salt.groovy
index d17bbc1..f406bc9 100644
--- a/src/com/mirantis/mk/Salt.groovy
+++ b/src/com/mirantis/mk/Salt.groovy
@@ -198,7 +198,7 @@
         }
         for (node in entry) {
             for (resource in node.value) {
-                if (resource instanceof String || (resource instanceof Boolean && resource == false) || (resource instanceof HashMap && resource.value.result.toString().toBoolean() != true)) {
+                if (resource instanceof String || (resource instanceof Boolean && resource == false) || resource.value.result.toString().toBoolean() != true) {
                     throw new Exception("Salt state on node ${node.key} failed: ${node.value}")
                 }
             }