diff --git a/test/e2e/runner/main.go b/test/e2e/runner/main.go index 0dc376e9f..ad0e7bcd0 100644 --- a/test/e2e/runner/main.go +++ b/test/e2e/runner/main.go @@ -69,6 +69,9 @@ func NewCLI() *CLI { return errors.New("'--infrastructure-data' must be set when using the 'digital-ocean' infrastructure-type") } ifd, err = e2e.InfrastructureDataFromFile(p) + if err != nil { + return err + } default: return fmt.Errorf("unknown infrastructure type '%s'", t) }