Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-31631: Log response from the dispatch #86

Merged
merged 1 commit into from Sep 15, 2021
Merged

Conversation

SimonKrughoff
Copy link
Contributor

{Summary of changes. Prefix PR title with ticket handle.}


  • Passes Jenkins CI.
  • Documentation is up-to-date.

Preview the docs at: https://pipelines.lsst.io/v/DM-FIXME

Copy link
Contributor

@afausti afausti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! there's just a small change required for it to work.

Please have a look at the squash-sandbox repo which I used to test this change.

response = job.dispatch(api_user=config.api_user,
api_password=config.api_password,
api_url=config.api_url)
log.info(response['message'])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here you need log.info(response.json()['message'])

@SimonKrughoff SimonKrughoff merged commit f57b8a3 into master Sep 15, 2021
@SimonKrughoff SimonKrughoff deleted the tickets/DM-31631 branch September 15, 2021 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants