Rename targetHosts for etcd to targetHostsEtcd in k8s upgrade
Change-Id: I82efbb189a88e66a8fc9e3a54d23a823bdd67bec
Related-PROD: PROD-26881 (PROD:26881)
diff --git a/k8s-upgrade-pipeline.groovy b/k8s-upgrade-pipeline.groovy
index 01fc0f8..fe7d189 100644
--- a/k8s-upgrade-pipeline.groovy
+++ b/k8s-upgrade-pipeline.groovy
@@ -739,8 +739,8 @@
if ((common.validInputParam('KUBERNETES_ETCD_SOURCE')) && (common.validInputParam('KUBERNETES_ETCD_SOURCE_HASH'))) {
overrideEtcdSource(pepperEnv)
}
- def targetHosts = salt.getMinionsSorted(pepperEnv, "I@etcd:server")
- for (t in targetHosts) {
+ def targetHostsEtcd = salt.getMinionsSorted(pepperEnv, "I@etcd:server")
+ for (t in targetHostsEtcd) {
performEtcdUpdateAndServicesRestart(pepperEnv, t)
}