You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--deadline should be called --timeout. A timeout is a relative time like what we're supposed to pass to the --deadline flag. An actual deadline is an absolute time.
Timeout: finish in 10 seconds.
Deadline: finish at 7:15:35PM.
This is a partial cherry-pick of upstream PR 173 to fix golangci-lint.
The --deadline argument was removed in the latest releases:
golangci/golangci-lint#655
--deadline
should be called--timeout
. A timeout is a relative time like what we're supposed to pass to the--deadline
flag. An actual deadline is an absolute time.https://news.ycombinator.com/item?id=9948203
https://golang.org/pkg/context/#WithDeadline
This was confusing to me when I was reading the docs.
The text was updated successfully, but these errors were encountered: