Skip to content

Commit

Permalink
add debug for server mode
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed Jan 27, 2024
1 parent 6d8b4a0 commit 50ab96c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/library/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def alert_auth():
if settings.secret_key
else "🍓 Secret key: unset"
)
print("🍓 Server mode: %s" % settings.flux_server_mode)
print(
"🍓 Flux user: %s" % ("*" * len(settings.flux_user))
if settings.flux_user
Expand Down
2 changes: 1 addition & 1 deletion clients/python/flux_restful_client/main/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def submit(self, command, **kwargs):

# Validate the data first.
jsonschema.validate(data, schema=schemas.job_submit_schema)
result = self.do_request("jobs/submit", "POST", json=data)
result = self.do_request("jobs/submit", "POST", params=data)
if result.status_code == 404:
print("There is no job for that identifier.")
return
Expand Down

0 comments on commit 50ab96c

Please sign in to comment.