Skip to content

Commit

Permalink
Downgrade go version for travis, remove go 1.13 error wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkren committed Jan 14, 2020
1 parent 431885b commit 1808b2b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go
go:
# - "1.11.x" At minimum the code should run make check on the latest two go versions in the default linux environment provided by Travis.
- "1.13.x"
- "1.12.x"

dist: xenial

Expand Down
2 changes: 1 addition & 1 deletion pkg/router/route_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ func (rg *RouteGroup) waitForCloseLoop(waitTimeout time.Duration) error {

select {
case <-closeCtx.Done():
return fmt.Errorf("close loop timed out: %w", closeCtx.Err())
return fmt.Errorf("close loop timed out: %v", closeCtx.Err())
case <-closeDoneCh:
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ func (r *router) handleClosePacket(ctx context.Context, packet routing.Packet) e
}

if err := rg.handleClosePacket(closeCode); err != nil {
return fmt.Errorf("error handling close packet with code %d by route group with descriptor %s: %w",
return fmt.Errorf("error handling close packet with code %d by route group with descriptor %s: %v",
closeCode, &desc, err)
}

Expand Down

0 comments on commit 1808b2b

Please sign in to comment.