Skip to content

Commit

Permalink
try silencing headers
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed May 31, 2023
1 parent b62894b commit 1297c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flux_metrics_api/apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_kubernetes_endpoint(endpoint):
# res = requests.get(f"{api_server}/apis", headers=headers, verify=cert_file)
# Kids don't do this at home
output = subprocess.check_output(
f'curl --cacert {cert_file} --header "Authorization: Bearer {token}" -X GET {api_server}/{endpoint}',
f'curl -s --cacert {cert_file} --header "Authorization: Bearer {token}" -X GET {api_server}/{endpoint}',
shell=True,
)
try:
Expand Down

0 comments on commit 1297c83

Please sign in to comment.