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

Skip region check for CCS ProjectClaims #121

Merged
merged 3 commits into from
Nov 11, 2020

Conversation

NautiluX
Copy link
Contributor

@NautiluX NautiluX commented Nov 10, 2020

What type of PR is this?

bugfix && feature && refactor

What this PR does / why we need it:

  • In CCS, the user is responsible for ensuring enough quota in the provided project, hence skip region check
  • The region check resulted in a error loop for unsupported regions, as the reconcile returned an error
  • Add ConditionInvalid for failed condition checks
  • Add missing return statement
  • Fix some warnings for missing checks in return codes
  • Refactor util.OperationResult functions for easier asserting on results
  • go mod tidy, go mod vendor

Which issue(s) this PR fixes(can be a reference to existing issue or jira/bz):

Fixes OSD-5710

Pre-checks:

  • manually tested latest changes against crc/k8s
  • run the make coverage command to generate new calculated coverage

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 10, 2020
* In CCS, the user is responsible for ensuring enough quota in the provided project, hence skip region check
* The region check resulted in a error loop for unsupported regions, as the reconcile returned an error
* Add `ConditionInvalid` for failed condition checks
* Add missing `return` statement
* Fix some warnings for missing checks in return codes
* Refactor util.OperationResult functions for easier asserting on results
* `go mod tidy`, `go mod vendor`
Copy link
Contributor

@rafael-azevedo rafael-azevedo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 11, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: NautiluX, rafael-azevedo

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 [NautiluX,rafael-azevedo]

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

@openshift-merge-robot openshift-merge-robot merged commit f47fd09 into openshift:master Nov 11, 2020
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.

4 participants