Commit 4acebfc2 authored by Ryan Hitchman's avatar Ryan Hitchman Committed by GitHub

Revert "e2e: only tear down existing cluster if it exists"

parent 54f24b02
...@@ -94,9 +94,7 @@ func main() { ...@@ -94,9 +94,7 @@ func main() {
} }
} }
// TODO: remove the IsUp() check after we stop testing 1.2 and earlier if *up {
// (or if we figure out a better way to handle TearDown failing on nonexisting clusters on old releases).
if *up && IsUp() {
if err := TearDown(); err != nil { if err := TearDown(); err != nil {
log.Fatalf("error tearing down previous cluster: %v", err) log.Fatalf("error tearing down previous cluster: %v", err)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment