mirror of https://github.com/docker/docs.git
Keep on heartbeating after failure
Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
parent
501c4f3460
commit
b185bb3dbd
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue