Skip to content

Commit

Permalink
Remove extra messages about the openapi_version (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
pagrubel authored Jan 16, 2025
1 parent 8f10fe0 commit 8123777
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions beeflow/client/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ def start_slurm_restd():
bee_workdir = bc.get('DEFAULT', 'bee_workdir')
slurmrestd_log = '/'.join([bee_workdir, 'logs', 'restd.log'])
openapi_version = worker_utils.get_slurmrestd_version()
print(f"Inferred slurmrestd version: {openapi_version}")
slurm_args = f'-s openapi/{openapi_version}'
# The following adds the db plugin we opted not to use for now
# slurm_args = f'-s openapi/{openapi_version},openapi/db{openapi_version}'
Expand Down
1 change: 0 additions & 1 deletion beeflow/common/worker/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,4 @@ def get_slurmrestd_version():
line)]
# Sort the versions and grab the newest one
newest_api = sorted(api_versions, key=Version, reverse=True)[0]
print(f"Inferred slurmrestd version: {newest_api}")
return newest_api

0 comments on commit 8123777

Please sign in to comment.