Skip to content

Fix Jira token parsing and handles errors #275

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

Merged

Conversation

clcollins
Copy link
Member

@clcollins clcollins commented Apr 29, 2024

  • Fixes incorrect Jira token unmarshal of JSON to struct
  • Adds error handling of unmarshal errors
  • Adds Jira Config validation if feature is enabled
  • Improves poorly-formatted error messages

Signed-off-by: Chris Collins [email protected]

@openshift-ci openshift-ci bot requested review from AlexVulaj and rendhalver April 29, 2024 22:15
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 29, 2024
* Fixes incorrect Jira token unmarshal of JSON to struct
* Adds error handling of unmarshal errors
* Adds Jira Config validation if feature is enabled
* Improves poorly-formatted error messages

Signed-off-by: Chris Collins <[email protected]>
@clcollins clcollins force-pushed the check_unmarshal_error branch from 44a6202 to bd63a19 Compare April 29, 2024 22:54
@clcollins clcollins changed the title check unmarshal error Fix Jira token parsing and handles errors Apr 29, 2024
@rendhalver
Copy link
Contributor

/retest

@rendhalver
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 30, 2024
Copy link
Contributor

openshift-ci bot commented Apr 30, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clcollins, rendhalver

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [clcollins,rendhalver]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rendhalver
Copy link
Contributor

/retest

@openshift-merge-bot openshift-merge-bot bot merged commit 99b61f6 into openshift:master Apr 30, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants