Skip to content

Commit

Permalink
Change comment on stats.End.Error
Browse files Browse the repository at this point in the history
  • Loading branch information
menghanl committed Aug 3, 2017
1 parent b463cc3 commit 0d39e3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stats/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ type End struct {
Client bool
// EndTime is the time when the RPC ends.
EndTime time.Time
// Error is the error just happened. It implements status.Status if non-nil.
// Error is the error the RPC ended with. It is an error generated from
// status.Status and can be converted back to status.Status using
// status.FromError if non-nil.
Error error
}

Expand Down

0 comments on commit 0d39e3b

Please sign in to comment.