commit | 68602afcf8b7282d1dc1abe9d3d4025d574a940b | [log] [tgz] |
---|---|---|
author | Dennis Dmitriev <ddmitriev@mirantis.com> | Fri Sep 28 00:51:30 2018 +0300 |
committer | Dennis Dmitriev <ddmitriev@mirantis.com> | Fri Sep 28 00:53:06 2018 +0300 |
tree | 6338c5726826da52e2ea1c7c3ebd499cb2b98c5c | |
parent | f13af1ee15585897bf40230f9ac0eeaea9cabe10 [diff] |
Fix salt.getFirstMinion() method Partial backport of the patch: https://gerrit.mcp.mirantis.net/#/c/25373/ Closes-Bug: https://mirantis.jira.com/browse/PROD-23521 Change-Id: Ic517ccde245272133dea48f718e74ddb2a346f6c
diff --git a/src/com/mirantis/mk/Salt.groovy b/src/com/mirantis/mk/Salt.groovy index 6530062..8d81554 100644 --- a/src/com/mirantis/mk/Salt.groovy +++ b/src/com/mirantis/mk/Salt.groovy
@@ -559,7 +559,7 @@ */ def getFirstMinion(saltId, target) { def minionsSorted = getMinionsSorted(saltId, target) - return minionsSorted[0].split("\\.")[0] + return minionsSorted[0] } /**