Skip to content

Commit 4bbecf8

Browse files
committed
precommit
1 parent bc3110a commit 4bbecf8

File tree

1 file changed

+2
-1
lines changed
  • exporter/opentelemetry-exporter-otlp-proto-http/src/opentelemetry/exporter/otlp/proto/http/_common

1 file changed

+2
-1
lines changed

exporter/opentelemetry-exporter-otlp-proto-http/src/opentelemetry/exporter/otlp/proto/http/_common/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@
1414

1515
import requests
1616

17+
1718
def _is_retryable(resp: requests.Response) -> bool:
1819
if resp.status_code == 408:
1920
return True
2021
if resp.status_code >= 500 and resp.status_code <= 599:
2122
return True
22-
return False
23+
return False

0 commit comments

Comments
 (0)