-
Notifications
You must be signed in to change notification settings - Fork 99
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
Feat/nutanix scale in out improvements #16072
Conversation
Signed-off-by: Thibault Barske <[email protected]>
.then((node) => { | ||
this.mapPossibleActions(node.possibleActions); | ||
}) | ||
.catch(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
Signed-off-by: Thibault Barske <[email protected]>
eebebc1
to
031efc4
Compare
Signed-off-by: Thibault Barske <[email protected]>
031efc4
to
3954d07
Compare
|
Description
Ticket Reference: #...
Additional Information