We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ede2ed commit 562ec1bCopy full SHA for 562ec1b
1 file changed
src/clusterfuzz/_internal/swarming/api.py
@@ -37,7 +37,8 @@ class SwarmingAPI:
37
38
def __init__(self):
39
self._config = get_swarming_config()
40
- self._base_url = f"https://{self._config.get('swarming_server')}/prpc/"
+ if self._config:
41
+ self._base_url = f"https://{self._config.get('swarming_server')}/prpc/"
42
43
def _get_headers(self) -> dict[str, str]:
44
"""Checks config and returns headers for pRPC request.
0 commit comments