mirror of
https://github.com/go-micro/go-micro.git
synced 2025-07-12 22:41:07 +02:00
Fix comment
This commit is contained in:
@ -2,7 +2,7 @@ package client
|
|||||||
|
|
||||||
import "golang.org/x/net/context"
|
import "golang.org/x/net/context"
|
||||||
|
|
||||||
// note that returning either true or a non-nil error will result in the call not being retried
|
// note that returning either false or a non-nil error will result in the call not being retried
|
||||||
type RetryFunc func(ctx context.Context, req Request, retryCount int, err error) (bool, error)
|
type RetryFunc func(ctx context.Context, req Request, retryCount int, err error) (bool, error)
|
||||||
|
|
||||||
// always retry on error
|
// always retry on error
|
||||||
|
Reference in New Issue
Block a user