Skip to content

Commit

Permalink
Redefine Temporary method from *ServerError to ServerError
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry-Sarabia committed Oct 20, 2020
1 parent dcac61d commit 4455a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (e ServerError) Error() string {
}

// Temporary returns true if the error is temporary.
func (e *ServerError) Temporary() bool {
func (e ServerError) Temporary() bool {
return e.Temp
}

Expand Down

0 comments on commit 4455a68

Please sign in to comment.