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

Feat/nutanix scale in out improvements #16072

Merged

Conversation

tibs245
Copy link
Contributor

@tibs245 tibs245 commented Mar 18, 2025

Description

Ticket Reference: #...

Additional Information

@tibs245 tibs245 self-assigned this Mar 18, 2025
@tibs245 tibs245 requested a review from a team as a code owner March 18, 2025 15:49
@tibs245 tibs245 requested review from pauldkn, darsene and sefiani-ovh and removed request for a team March 18, 2025 15:49
.then((node) => {
this.mapPossibleActions(node.possibleActions);
})
.catch(() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Not blocking but maybe its better
this.mapPossibleActions(node?.possibleActions || []))

BETA api (no trust :) )

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's the contract with API. This informations should be alway exists

this.possibleActionsMapped[action] = { isPossible, reason };
});

if (this.hasOnlyMinimumNode) {
this.possibleActionsMapped[POSSIBLE_ACTIONS.TERMINATE].isPossible = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

Not safe at all , check if his.possibleActionsMapped[POSSIBLE_ACTIONS.TERMINATE] is defined

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's the contract with API. This informations should be alway exists

@tibs245 tibs245 force-pushed the feat/nutanix-scale-in-out-improvements branch from eebebc1 to 031efc4 Compare March 25, 2025 13:56
@tibs245 tibs245 force-pushed the feat/nutanix-scale-in-out-improvements branch from 031efc4 to 3954d07 Compare March 25, 2025 14:59
@tibs245 tibs245 requested a review from a team as a code owner March 25, 2025 14:59
@tibs245 tibs245 requested review from qpavy, chipp972 and sachinrameshn and removed request for a team March 25, 2025 14:59
@tibs245 tibs245 merged commit bc62b44 into feat/nutanix-scale-in-out Mar 25, 2025
15 checks passed
@tibs245 tibs245 deleted the feat/nutanix-scale-in-out-improvements branch March 25, 2025 15:43
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.

3 participants