Keep on heartbeating after failure

Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
David Gageot 2015-12-28 11:33:38 +01:00
parent 501c4f3460
commit b185bb3dbd
1 changed files with 0 additions and 2 deletions

View File

@ -158,8 +158,6 @@ func NewRPCClientDriver(driverName string, rawDriver []byte) (*RPCClientDriver,
case <-time.After(heartbeatInterval):
if err := c.Client.Call(HeartbeatMethod, struct{}{}, nil); err != nil {
log.Warnf("Error attempting heartbeat call to plugin server: %s", err)
c.close()
return
}
}
}