remove unnecessary boolean operator
This commit is contained in:
parent
e56a6dc9a0
commit
73b6247fd2
|
@ -192,7 +192,7 @@ var waitForCommunicator = func(p *Provisioner) error {
|
|||
return fmt.Errorf("Communicator wait canceled")
|
||||
case <-time.After(retryableSleep):
|
||||
}
|
||||
if runCustomRestartCheck == true {
|
||||
if runCustomRestartCheck {
|
||||
// run user-configured restart check
|
||||
err := cmdRestartCheck.StartWithUi(p.comm, p.ui)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue