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

[ACM-8232] call addonMgr.start asynchronously #1263

Closed

Conversation

subbarao-meduri
Copy link
Collaborator

A workaround suggested by @elgnay is to call addonMgr.start() asynchronously.
Together with fix stolostron/multiclusterhub-operator#1169 should resolve the issue.

I have verified that this works in my local env.

Signed-off-by: Subbarao Meduri <[email protected]>
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Member

@saswatamcode saswatamcode left a comment

Choose a reason for hiding this comment

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

/lgtm as far as I understand this.

os.Exit(1)
}
go func() {
ctx := context.TODO()
Copy link
Member

Choose a reason for hiding this comment

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

Probably needs some centralized context, in the future

@saswatamcode
Copy link
Member

The lint check is fixed by #1262

@saswatamcode
Copy link
Member

/lgtm

@openshift-ci
Copy link

openshift-ci bot commented Oct 19, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: saswatamcode, subbarao-meduri

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:

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

@saswatamcode
Copy link
Member

/retest

@douglascamata
Copy link
Contributor

The goconst linter's failing again with the "true" string. Maybe we should disable this linter? (cc @saswatamcode)

@saswatamcode
Copy link
Member

The goconst linter's failing again with the "true" string. Maybe we should disable this linter? (cc @saswatamcode)

Fixed in #1262! Just needs to be rebased for check to pass.
Fwiw, all of these "true" string checks, actually just check if a env var is set or not. We can refactor them out and remove that string

@elgnay
Copy link

elgnay commented Oct 19, 2023

@subbarao-meduri I think we no longer need this change. stolostron/multiclusterhub-operator#1169 is enough to fix the issue.

@douglascamata
Copy link
Contributor

If we indeed don't need this, as @elgnay says, I prefer to avoid the change. 😬

@subbarao-meduri
Copy link
Collaborator Author

Closing this PR, as confirmed not needed.

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.

4 participants