Fix the ETCD env vars for downgrade

This commit is contained in:
Kris 2017-03-22 11:25:42 -07:00
parent 723d301b47
commit da74b86b99

View File

@ -66,9 +66,9 @@ func masterUpgradeGCE(rawV string) error {
// TODO: Remove these variables when they're no longer needed for downgrades.
if TestContext.EtcdUpgradeVersion != "" && TestContext.EtcdUpgradeStorage != "" {
env = append(env,
"TEST_ETCD_VERSION="+TestContext.EtcdUpgradeVersion,
"ETCD_VERSION="+TestContext.EtcdUpgradeVersion,
"STORAGE_BACKEND="+TestContext.EtcdUpgradeStorage,
"TEST_ETCD_IMAGE=3.0.17")
"ETCD_IMAGE=3.0.17")
}
v := "v" + rawV