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 04c40de commit 94b248fCopy full SHA for 94b248f
src/confcom/azext_confcom/lib/opa.py
@@ -28,6 +28,9 @@
28
29
def opa_get():
30
31
+ if not all(platform.system() in mapping for mapping in [_opa_url, _expected_sha256]):
32
+ raise RuntimeError(f"OPA is not supported on platform: {platform.system()}")
33
+
34
opa_fetch_resp = requests.get(_opa_url[platform.system()], verify=True)
35
opa_fetch_resp.raise_for_status()
36
0 commit comments