functional: deprecate "grpc.ErrClientConnClosing"

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
Gyuho Lee 2019-08-05 00:06:50 -07:00
parent ab1db0dfd8
commit faa1d9d206

View File

@ -176,9 +176,6 @@ func (s *keyStresser) isRetryableError(err error) bool {
case context.Canceled.Error():
// from stresser.Cancel method:
return false
case grpc.ErrClientConnClosing.Error():
// from stresser.Cancel method:
return false
}
if status.Convert(err).Code() == codes.Unavailable {