Skip to content

Commit

Permalink
Made suggested change by gaurav
Browse files Browse the repository at this point in the history
  • Loading branch information
prashanth26 committed Jun 30, 2020
1 parent 75cda5e commit 0a7d3b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/util/provider/machinecontroller/machine_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -848,9 +848,8 @@ func (c *controller) drainNode(deleteMachineRequest *driver.DeleteMachineRequest
err = fmt.Errorf("Skipping drain as machine is NotReady for over 5minutes. %s", machineutils.InitiateVMDeletion)
description = fmt.Sprintf("Skipping drain as machine is NotReady for over 5minutes. %s", machineutils.InitiateVMDeletion)
skipDrain = true

break
}
break
}
}

Expand Down

0 comments on commit 0a7d3b5

Please sign in to comment.