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

Truncate container type on pyxis update calls #775

Merged

Conversation

komish
Copy link
Contributor

@komish komish commented Aug 26, 2022

In #768 we truncated the CertificationProject.Type value on update requests because Pyxis was rejecting requests that included that value for projects with exceptions (being that external users cannot update that field).

It seems like we actually need to strip the value from the CertificationProject.Container.Type field. This PR removes that field. I did not replace the CertificationProject.Type value because in my mind, neither of those should change anyway. I'd imagine we should be fine removing both.

Signed-off-by: Jose R. Gonzalez jose@flutes.dev

Signed-off-by: Jose R. Gonzalez <jose@flutes.dev>
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 26, 2022
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 26, 2022
@coveralls
Copy link

Coverage Status

Coverage increased (+0.004%) to 84.535% when pulling 9036c30 on komish:also-truncate-container-type into 5f4cc98 on redhat-openshift-ecosystem:main.

@openshift-ci
Copy link

openshift-ci bot commented Aug 26, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: acornett21, komish, skattoju

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 [acornett21,komish,skattoju]

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

@komish komish merged commit 243b88b into redhat-openshift-ecosystem:main Aug 26, 2022
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.

None yet

5 participants