Merge "Fix variables naming"
diff --git a/src/com/mirantis/mk/Galera.groovy b/src/com/mirantis/mk/Galera.groovy
index 29402e7..96777a7 100644
--- a/src/com/mirantis/mk/Galera.groovy
+++ b/src/com/mirantis/mk/Galera.groovy
@@ -81,13 +81,13 @@
common.errorMsg("Cannot obtain Galera slave minions list.")
return 129
}
- for (slave in galeraSlaves) {
+ for (minion in galeraSlaves) {
try {
- salt.minionsReachable(env, "I@salt:master", slave)
- testNode = slave
+ salt.minionsReachable(env, "I@salt:master", minion)
+ testNode = minion
break
} catch (Exception e) {
- common.warningMsg("Slave '${slave}' is not reachable.")
+ common.warningMsg("Slave '${minion}' is not reachable.")
}
}
}