mirror of
https://github.com/harness/drone.git
synced 2025-05-03 22:13:32 +08:00
chore(rpc): remove redundant check
This commit is contained in:
parent
93e8767f9c
commit
de322e2bc9
@ -306,7 +306,7 @@ func retryFunc(ctx context.Context, resp *http.Response, err error) (bool, error
|
||||
// stream. This stream is temporary and ephemeral, and losing
|
||||
// log lines will not negatively impact the final persisted
|
||||
// log entries.
|
||||
if resp != nil && resp.Request.URL.Path == "/rpc/v1/write" {
|
||||
if resp.Request.URL.Path == "/rpc/v1/write" {
|
||||
return false, err
|
||||
}
|
||||
// Check the response code. We retry on 500-range responses
|
||||
|
Loading…
Reference in New Issue
Block a user