Remove polling for Nodes when deleting
Deleting nodes is fairly quick and it is not required to poll them for state changes. This change fixes the problem of Nodes being re-added after being deleted because of polling and deletion collision Closes-Bug: 1671131 Change-Id: I8644b90c48df349c5e008c927b60276b4e988e92
This commit is contained in:
parent
bbe3bb0916
commit
e79f9b5ec1
|
@ -265,7 +265,6 @@ export default {
|
|||
deleteNodes(nodeIds) {
|
||||
return (dispatch, getState) => {
|
||||
dispatch(this.startOperation(nodeIds));
|
||||
dispatch(this.pollNodeslistDuringProgress());
|
||||
nodeIds.map((nodeId) => {
|
||||
IronicApiService.deleteNode(nodeId).then(response => {
|
||||
dispatch(this.deleteNodeSuccess(nodeId));
|
||||
|
|
Loading…
Reference in New Issue