Skip to content

OpenShift CRD Manager service must signal stop when completed#581

Merged
copejon merged 1 commit intoopenshift:mainfrom
mangelajo:ocp-crd-manager-stop
Feb 2, 2022
Merged

OpenShift CRD Manager service must signal stop when completed#581
copejon merged 1 commit intoopenshift:mainfrom
mangelajo:ocp-crd-manager-stop

Conversation

@mangelajo
Copy link
Copy Markdown
Contributor

Otherwise the service manager can't track completion of the service
when a stop is requested.

Signed-off-by: Miguel Angel Ajo majopela@redhat.com

Otherwise the service manager can't track completion of the service
when a stop is requested.

Signed-off-by: Miguel Angel Ajo <majopela@redhat.com>
@openshift-ci openshift-ci Bot requested review from cooktheryan and sallyom January 27, 2022 16:42
@mangelajo mangelajo requested review from fzdarsky and oglok January 27, 2022 16:42

func (s *OpenShiftCRDManager) Run(ctx context.Context, ready chan<- struct{}, stopped chan<- struct{}) error {
defer close(ready)
// To-DO add readiness check
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

the check is already there (waitForCrdEstablishment)

@copejon
Copy link
Copy Markdown
Contributor

copejon commented Feb 2, 2022

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Feb 2, 2022
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Feb 2, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: copejon

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

The pull request process is described here

Details 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

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 2, 2022
@copejon copejon merged commit a7deed1 into openshift:main Feb 2, 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.

2 participants