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

Import NodePool from the hardwaremanagement module #149

Conversation

tliu2021
Copy link
Collaborator

The NodePool component has been added to the hardwaremanagement module. This update adjusts all references within the oran-o2ims module to import NodePool from the hardwaremanagement module and remove any legacy imports from oran-o2ims.

Copy link

openshift-ci bot commented Aug 13, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from tliu2021. For more information see the Kubernetes Code Review Process.

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

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

@donpenney
Copy link
Collaborator

A rebase should pick up the fixes to the unit tests that are failing here

donpenney and others added 12 commits August 13, 2024 16:24
In the current k8s dependencies, the fake client does not support
server-side apply calls and returns an error in the ginkgo tests:

  [FAILED] Unexpected error:
      <*errors.errorString | 0xc00064e1a0>:
      apply patches are not supported in the fake client. Follow kubernetes/kubernetes#115598 for the current status
      {
          s: "apply patches are not supported in the fake client. Follow kubernetes/kubernetes#115598 for the current status",
      }
  occurred

This update adds a check for this error to bypass the failure, until the
k8s modules can be updated to a version that does not produce this
error.

Signed-off-by: Don Penney <[email protected]>
* workflow: Update golangci-lint to 1.59.1

Signed-off-by: Don Penney <[email protected]>

* Add initial golangci-lint config file

Signed-off-by: Don Penney <[email protected]>

---------

Signed-off-by: Don Penney <[email protected]>
This addresses import statement ordering/grouping violations reported by
the golintci tool.

Signed-off-by: Allain Legacy <[email protected]>
This addresses issues with unnecessary type conversions reported by the
golintci tool.

Signed-off-by: Allain Legacy <[email protected]>
This addresses issues with improperly unwrapped error objects reported
by the golintci tool.

Signed-off-by: Allain Legacy <[email protected]>
This enables the code complexity test and addresses the violations
reported by the golintci tool.

Signed-off-by: Allain Legacy <[email protected]>
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 13, 2024
@openshift-merge-robot
Copy link
Collaborator

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@tliu2021
Copy link
Collaborator Author

I am going to create a new pull request for this change.

@tliu2021 tliu2021 closed this Aug 13, 2024
@tliu2021 tliu2021 deleted the import_nodepool branch August 13, 2024 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants