diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-05-09 11:22:15 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-05-09 16:23:28 +0200 |
| commit | 3354d81aa507bee152702604b3104e9d712401d2 (patch) | |
| tree | 033ca585214237982359300d9bd0e6489ce2f580 /pkg/bisect | |
| parent | 4c9f39d2f78fe8ca0c9687a484e1c2579b9768f2 (diff) | |
pkg/bisect: treat repro checkout errors as infra errors
This will let us later restart them automatically.
Diffstat (limited to 'pkg/bisect')
| -rw-r--r-- | pkg/bisect/bisect.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bisect/bisect.go b/pkg/bisect/bisect.go index b4b211af6..b9f214337 100644 --- a/pkg/bisect/bisect.go +++ b/pkg/bisect/bisect.go @@ -135,7 +135,7 @@ func Run(cfg *Config) (*Result, error) { return nil, err } if _, err = repo.CheckoutBranch(cfg.Kernel.Repo, cfg.Kernel.Branch); err != nil { - return nil, err + return nil, &InfraError{Title: fmt.Sprintf("%v", err)} } return runImpl(cfg, repo, inst) } |
