mirror of https://github.com/go-redis/redis.git
define loading error
This commit is contained in:
parent
3cc9b99fb8
commit
1b06f9351a
|
@ -69,5 +69,5 @@ func IsMoved(err error) (moved bool, ask bool, addr string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func IsLoading(err error) bool {
|
func IsLoading(err error) bool {
|
||||||
return err.Error() == string(LastIndexoadingError)
|
return err.Error() == string(LoadingError)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue