Update dependencies
This commit is contained in:
parent
5e674254f0
commit
815b518c2c
145 changed files with 14129 additions and 4312 deletions
4
vendor/github.com/xenolf/lego/platform/wait/wait.go
generated
vendored
4
vendor/github.com/xenolf/lego/platform/wait/wait.go
generated
vendored
|
@ -8,8 +8,8 @@ import (
|
|||
)
|
||||
|
||||
// For polls the given function 'f', once every 'interval', up to 'timeout'.
|
||||
func For(timeout, interval time.Duration, f func() (bool, error)) error {
|
||||
log.Infof("Wait [timeout: %s, interval: %s]", timeout, interval)
|
||||
func For(msg string, timeout, interval time.Duration, f func() (bool, error)) error {
|
||||
log.Infof("Wait for %s [timeout: %s, interval: %s]", msg, timeout, interval)
|
||||
|
||||
var lastErr string
|
||||
timeUp := time.After(timeout)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue