define loading error

This commit is contained in:
lijunfei 2016-10-09 11:44:58 +08:00
parent 3cc9b99fb8
commit 1b06f9351a
1 changed files with 1 additions and 1 deletions

View File

@ -69,5 +69,5 @@ func IsMoved(err error) (moved bool, ask bool, addr string) {
}
func IsLoading(err error) bool {
return err.Error() == string(LastIndexoadingError)
return err.Error() == string(LoadingError)
}