Skip to content

Commit

Permalink
Merge pull request #382 from SpiNNakerManchester/log_spalloc_operation
Browse files Browse the repository at this point in the history
log job call values
  • Loading branch information
rowleya authored Nov 28, 2023
2 parents 00781b1 + 83ee8a0 commit 6847e23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spinnman/spalloc/spalloc_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ def _create(self, create: Mapping[str, JsonValue],
operation["nmpi-job-id"] = self.__nmpi_job
if self.__nmpi_user is not None:
operation["owner"] = self.__nmpi_user
logger.info("Posting {} to {}", operation, self.__jobs_url)
r = self.__session.post(self.__jobs_url, operation, timeout=30)
url = r.headers["Location"]
return _SpallocJob(self.__session, fix_url(url))
Expand Down

0 comments on commit 6847e23

Please sign in to comment.