commit | 49d6781485955465138b7b40194df2a1ae2297f8 | [log] [tgz] |
---|---|---|
author | Victor Ryzhenkin <vryzhenkin@mirantis.com> | Wed Jan 09 15:28:21 2019 +0400 |
committer | Victor Ryzhenkin <vryzhenkin@mirantis.com> | Wed Jan 09 15:28:21 2019 +0400 |
tree | 98fc8db9647e385ff8a6d0ec6746365de41b3404 | |
parent | f6fce3dfee9b4f397c52f5452316c987d162ca3f [diff] [blame] |
Fix codenarc issues to unblock merge Change-Id: I14f30b0780627249bd908ebc09ea2a79ac9a92c4
diff --git a/src/com/mirantis/mk/Salt.groovy b/src/com/mirantis/mk/Salt.groovy index 93750ae..9020f82 100644 --- a/src/com/mirantis/mk/Salt.groovy +++ b/src/com/mirantis/mk/Salt.groovy
@@ -894,8 +894,9 @@ def resKey; if(node instanceof Map){ resKey = node.keySet()[k] - if (resKey == "retcode") + if (resKey == "retcode") { continue + } }else if(node instanceof List){ resKey = k }