Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

delete minor unreachable code caused by log.Fatal #4930

Merged
merged 1 commit into from
Aug 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions test/e2e/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ func main() {
teardown()
}
log.Fatalf("Error while trying to provision cluster:%s", err)
os.Exit(1)
}
if cfg.SoakClusterName != "" {
err = sa.CreateFileShare(cfg.SoakClusterName)
Expand All @@ -185,15 +184,13 @@ func main() {
teardown()
}
log.Fatalf("Error trying to parse Engine config:%s\n", err)
os.Exit(1)
}
cs, err := engine.ParseInput(engCfg.ClusterDefinitionTemplate)
if err != nil {
if cfg.CleanUpIfFail {
teardown()
}
log.Fatalf("Error trying to parse engine template into memory:%s\n", err)
os.Exit(1)
}
eng = &engine.Engine{
Config: engCfg,
Expand Down Expand Up @@ -225,7 +222,6 @@ func main() {
teardown()
}
log.Fatalf("Error: Unable to parse ginkgo configuration!")
os.Exit(1)
}
err = g.Run()
if err != nil {
Expand Down