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

nob run controller: brushing #109

Merged

Conversation

alebedev87
Copy link
Contributor

No description provided.

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 24, 2022
@alebedev87 alebedev87 force-pushed the nob-run-controller-brushing branch 2 times, most recently from d9e90a6 to cad8a0c Compare October 26, 2022 08:41
@@ -14,6 +14,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"

v1alpha2 "github.com/openshift/node-observability-operator/api/v1alpha2"
opctrl "github.com/openshift/node-observability-operator/pkg/operator/controller"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can keep the same name for the controller (or any other package) wherever we are importing it, just for easy readability.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

From what I can see it's opctrl everywhere:

$ agi 'github.com/openshift/node-observability-operator/pkg/operator/controller\"'
pkg/operator/controller/nodeobservability/daemonset.go
17:	opctrl "github.com/openshift/node-observability-operator/pkg/operator/controller"

pkg/operator/controller/nodeobservability/service.go
20:	opctrl "github.com/openshift/node-observability-operator/pkg/operator/controller"

pkg/operator/controller/nodeobservabilityrun/controller.go
47:	opctrl "github.com/openshift/node-observability-operator/pkg/operator/controller"

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, because I also used opctrl in my PR after seeing this.

@alebedev87
Copy link
Contributor Author

/retest

- typecheck
- unused
- varcheck
Copy link
Contributor

Choose a reason for hiding this comment

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

That's a much needed change for the clean make verify

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unfortunately the support for it was dropped, so golangci-lint of version 1.50.0 (latest of the moment) prints a warning about it.

@ayesha54
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 27, 2022
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 27, 2022
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Oct 27, 2022
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 27, 2022
@openshift-ci
Copy link

openshift-ci bot commented Oct 27, 2022

@alebedev87: all tests passed!

Full PR test history. Your PR dashboard.

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/test-infra repository. I understand the commands that are listed here.

Copy link
Contributor

@sherine-k sherine-k left a comment

Choose a reason for hiding this comment

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

/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 28, 2022
@openshift-ci
Copy link

openshift-ci bot commented Oct 28, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alebedev87, sherine-k

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 [alebedev87,sherine-k]

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

@sunilcio
Copy link

/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Oct 28, 2022
@Amrita42
Copy link

/label docs-approved

@openshift-ci openshift-ci bot added the docs-approved Signifies that Docs has signed off on this PR label Oct 28, 2022
@alebedev87
Copy link
Contributor Author

/label px-approved

As per Chris Fields, the docs are sufficient for this release.

@openshift-ci openshift-ci bot added the px-approved Signifies that Product Support has signed off on this PR label Oct 28, 2022
@openshift-merge-robot openshift-merge-robot merged commit b52fa5c into openshift:main Oct 28, 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. docs-approved Signifies that Docs has signed off on this PR lgtm Indicates that a PR is ready to be merged. px-approved Signifies that Product Support has signed off on this PR qe-approved Signifies that QE has signed off on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants