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

Delete cluster in cluster edit [Cluster management ** HOLD**] #25

Closed
wants to merge 4 commits into from

Conversation

mamy-CS
Copy link
Collaborator

@mamy-CS mamy-CS commented Aug 26, 2021

#12
Signed-off-by: Mohammed Abdi mohammed.munir.abdi@ibm.com

Signed-off-by: Mohammed Abdi <mohammed.munir.abdi@ibm.com>
Copy link
Collaborator

@lumjjb lumjjb left a comment

Choose a reason for hiding this comment

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

minor comments here and there, and should be good.

Signed-off-by: Mohammed Abdi <mohammed.munir.abdi@ibm.com>
lumjjb
lumjjb previously approved these changes Aug 30, 2021
Copy link
Collaborator

@lumjjb lumjjb left a comment

Choose a reason for hiding this comment

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

EDIt: tested, does not work

@lumjjb lumjjb dismissed their stale review August 30, 2021 21:12

not lgtm, bug

} else {
this.TornjakApi.localClusterDelete(inputData, this.props.clustersListUpdateFunc, this.props.globalClustersList);
}
window.alert("CLUSTER DELETED SUCCESSFULLY!");
Copy link
Collaborator

Choose a reason for hiding this comment

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

how do you know deletion is successful? How do you know if its successfully run?

this.TornjakApi.localClusterDelete(inputData, this.props.clustersListUpdateFunc, this.props.globalClustersList);
}
window.alert("CLUSTER DELETED SUCCESSFULLY!");
window.location.reload();
Copy link
Collaborator

Choose a reason for hiding this comment

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

What happens here if it reloads and the async function is still running?

Mohammed Abdi added 2 commits August 30, 2021 11:46
Signed-off-by: Mohammed Abdi <mohammed.munir.abdi@ibm.com>
Signed-off-by: Mohammed Abdi <mohammed.munir.abdi@ibm.com>
@mrsabath
Copy link
Collaborator

Waiting on TypeScript completion

Copy link
Collaborator

@lumjjb lumjjb left a comment

Choose a reason for hiding this comment

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

Change type of response to be more succinct in parsing result. Other than that, if tests shows working should be good to merge.

@mrsabath mrsabath changed the title Delete cluster in cluster edit [Cluster management] Delete cluster in cluster edit [Cluster management ** HOLD**] May 9, 2023
@mamy-CS
Copy link
Collaborator Author

mamy-CS commented Jan 16, 2024

Rebased and moved to #333 to finish. Closing.

@mamy-CS mamy-CS closed this Jan 16, 2024
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.

3 participants