Skip to content

Commit

Permalink
Update bug_report.yml to remove shell attribute in logs
Browse files Browse the repository at this point in the history
Logs are saved as shell input, which means they get rendered directly as a code block in the final output.  Let's change this to not be rendered.

The motivation for this is to enable something like [this issue's logs](#367 (comment)), where we can use a `<details> ... </details>` block to hide the logs in an expandable text block.  If the logs are rendered as shell, the user cannot do this.
  • Loading branch information
ca-scribner authored Nov 1, 2023
1 parent 17cd942 commit da18120
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ body:
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
Fetch the logs using `juju debug-log --replay` and `kubectl logs ...`. Additional details available in the juju docs
at https://juju.is/docs/olm/juju-logs
render: shell
validations:
required: true
- type: textarea
Expand Down

0 comments on commit da18120

Please sign in to comment.