Fix the doc string for IsFatalError (#7000)

This commit is contained in:
dr-db 2019-06-27 05:50:47 -05:00 committed by Michel Vocks
parent de92ecedfa
commit 720db0ffbc
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ func NewNonFatalError(err error) *NonFatalError {
return &NonFatalError{Err: err}
}
// IsFatalError returns true if the given error is a non-fatal error.
// IsFatalError returns true if the given error is a fatal error.
func IsFatalError(err error) bool {
return !errwrap.ContainsType(err, new(NonFatalError))
}