e2e.go --isup should also check the version

fixes #18667
This commit is contained in:
Angus Salkeld 2016-07-14 16:20:30 +02:00
parent c94976570f
commit 5c3eea15eb

View File

@ -75,6 +75,8 @@ func main() {
log.SetFlags(log.LstdFlags | log.Lshortfile)
flag.Parse()
os.Setenv("KUBECTL", *root+`/cluster/kubectl.sh`+kubectlArgs())
if *isup {
status := 1
if IsUp() {
@ -96,8 +98,6 @@ func main() {
}
}
os.Setenv("KUBECTL", *root+`/cluster/kubectl.sh`+kubectlArgs())
if *pushup {
if IsUp() {
log.Printf("e2e cluster is up, pushing.")