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

Use databasesList slice properly to get db instances #1980

Merged
merged 3 commits into from Nov 7, 2023

Conversation

arbulu89
Copy link
Contributor

@arbulu89 arbulu89 commented Nov 7, 2023

Description

Fixes 2 selectors which uses the sapSystems slice incorrectly to get data of databasesList slice.
This creates the situation that if the SAP system using the database is deregistered, the database instances are not returned anymore, leaving "empty" HANA database (without instances).
I have checked, and as far as I could test, it doesn't have any "not wanted" side-effect

How was this tested?

Tests updated. I did some manual testing as well.

@arbulu89 arbulu89 added the bug Something isn't working label Nov 7, 2023
@arbulu89 arbulu89 force-pushed the fix-database-instances-selector branch from 45f6ba4 to 789564a Compare November 7, 2023 09:57
@arbulu89 arbulu89 marked this pull request as ready for review November 7, 2023 10:24
Copy link
Member

@nelsonkopliku nelsonkopliku left a comment

Choose a reason for hiding this comment

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

LGTM 👀

@arbulu89 arbulu89 merged commit 0f656fd into main Nov 7, 2023
26 checks passed
@arbulu89 arbulu89 deleted the fix-database-instances-selector branch November 7, 2023 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

None yet

3 participants