aboutsummaryrefslogtreecommitdiff
path: root/src/cli/nomad_allocs.py
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-07-22 17:46:36 -0700
committerFranck Cuny <franck@fcuny.net>2024-07-22 17:46:36 -0700
commitd4b6d2b2053e335e5457e34c128ec8a1a156671d (patch)
tree95dc405071eed3c61142754249b9de9326f4285d /src/cli/nomad_allocs.py
parentdelete github actions (diff)
downloadinfra-d4b6d2b2053e335e5457e34c128ec8a1a156671d.tar.gz
add lint as a target and reformat
Diffstat (limited to '')
-rwxr-xr-xsrc/cli/nomad_allocs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/nomad_allocs.py b/src/cli/nomad_allocs.py
index 868fea9..cc7e648 100755
--- a/src/cli/nomad_allocs.py
+++ b/src/cli/nomad_allocs.py
@@ -19,7 +19,7 @@ def cli(job, dc, token):
url = f"https://{dc}-nomad.simulprod.com/v1/job/{job}/allocations"
try:
resp = requests.get(url, headers=headers)
- resp.raise_for_status
+ resp.raise_for_status()
except Exception as e:
print("return {}".format(str(e)))