Skip to content

Commit

Permalink
revive in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
alexadhy committed Jun 1, 2021
1 parent adde96a commit b2d3432
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ before_install:
- nvm install 10.16

install:
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin v1.31.0
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin v1.40.1
- make dep

before_script:
Expand Down
5 changes: 2 additions & 3 deletions pkg/visor/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,11 @@ func newTransportSummary(tm *transport.Manager, tp *transport.ManagedTransport,
// Summary provides an extra summary of the AppNode.
func (r *RPC) Summary(_ *struct{}, out *Summary) (err error) {
defer rpcutil.LogCall(r.log, "Summary", nil)(out, &err)

out, err = r.visor.Summary()
sum, err := r.visor.Summary()
if err != nil {
return err
}

*out = *sum
return nil
}

Expand Down

0 comments on commit b2d3432

Please sign in to comment.