Fixed wrong cloning of TraceFeignRetryer
ATM we're cloning the retryer with the default retryer as a delegate. We should be honouring the retryer that the user has provided. Fixes #291
This commit is contained in:
@@ -62,6 +62,6 @@ final class TraceFeignRetryer implements Retryer {
|
||||
|
||||
@Override
|
||||
public Retryer clone() {
|
||||
return new TraceFeignRetryer(this.tracer);
|
||||
return new TraceFeignRetryer(this.tracer, this.delegate);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user