Skip to content

fix: type assertion failure for RHSSO creating dynamic client apierror log#2115

Merged
kurlov merged 1 commit intomainfrom
akurlov/fix-create-dynamic-rhsso-client-log-on-apierror
Dec 4, 2024
Merged

fix: type assertion failure for RHSSO creating dynamic client apierror log#2115
kurlov merged 1 commit intomainfrom
akurlov/fix-create-dynamic-rhsso-client-log-on-apierror

Conversation

@kurlov
Copy link
Copy Markdown
Member

@kurlov kurlov commented Dec 4, 2024

Description

The PR fixes type asserting.

There is no Error response when creating RHSSO dynamic client error logs if RHSSO returns 4xx responses. The issue is that CreateAcsClient openAPI generated function returns GenericOpenAPIError in case of API error not a pointer.

Checklist (Definition of Done)

  • Unit and integration tests added
  • Added test description under Test manual
  • Documentation added if necessary (i.e. changes to dev setup, test execution, ...)
  • CI and all relevant tests are passing
  • Add the ticket number to the PR title if available, i.e. ROX-12345: ...
  • Discussed security and business related topics privately. Will move any security and business related topics that arise to private communication channel.
  • Add secret to app-interface Vault or Secrets Manager if necessary
  • RDS changes were e2e tested manually
  • Check AWS limits are reasonable for changes provisioning new resources
  • (If applicable) Changes to the dp-terraform Helm values have been reflected in the addon on integration environment

Test manual

N/A

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Dec 4, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ebensh, kurlov

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

The pull request process is described here

Details Needs approval from an approver in each of these files:

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

@kurlov kurlov merged commit e80323a into main Dec 4, 2024
@kurlov kurlov deleted the akurlov/fix-create-dynamic-rhsso-client-log-on-apierror branch December 4, 2024 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants