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:
Jiri Tomasek 2017-04-05 13:12:06 +02:00
parent bbe3bb0916
commit e79f9b5ec1
1 changed files with 0 additions and 1 deletions

View File

@ -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));