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

fix(container.instance): refactored code to remove unreachable code #5212

Merged

Conversation

sfiorani
Copy link
Contributor

This PR fixes a problem in the Container Instance code that led to an unreachable code branch.

When a Container Instance in Disabled state started (startup of Kura or Instance creation) while an other container with same name was already running on the system, the latter was not stopped and deleted: this happened due to an incorrect exit condition of the update method that prevent the correct actions.

Related Issue:

Description of the solution adopted:

Screenshots:

Manual Tests:

Any side note on the changes made:

@mattdibi mattdibi self-requested a review April 10, 2024 13:02
@sfiorani sfiorani marked this pull request as ready for review April 10, 2024 14:38
Copy link
Contributor

@mattdibi mattdibi left a comment

Choose a reason for hiding this comment

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

Looks great overall I have a couple of question highlighted below

@mattdibi
Copy link
Contributor

The build succeeds locally but we are facing an issue in the CI connection to Sonar. An issue has been raised few weeks ago to the Eclipse Team: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/4422

Merging as-is for now.

@mattdibi mattdibi merged commit 64804b6 into eclipse-kura:develop Apr 11, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants