Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

The /ansible get-jobs command fails if output includes a job that was started by schedule #28

Closed
ubajze opened this issue Aug 4, 2021 · 0 comments · Fixed by #32
Closed

Comments

@ubajze
Copy link
Contributor

ubajze commented Aug 4, 2021

Environment

  • Python version: 3.6.1
  • Nautobot version: 1.0.3
  • nautobot-plugin-chatops-ansible version: 1.0.1

Steps to Reproduce

  1. Run the /ansible get-jobs command in Slack. Make sure that you include a job that is started by a schedule.

Expected Behavior

I expected to see the list of jobs.

Observed Behavior

The following is displayed in the output:

*An internal error occurred:
'created_by'* :warning:

The job dict does not have the "created_by" dict because a schedule started it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant