• Alberto Bertogli's avatar
    Use context.WithTimeout instead of context.WithDeadline · 2943f994
    Alberto Bertogli authored
    There are a few context.WithDeadline calls that can be simplified by
    using context.WithTimeout.
    
    At the time they were added, WithTimeout was too new so we didn't want
    to depend on it. But now that the minimum Go version has been raised to
    1.9, we can simplify the calls.
    
    This patch does that simplification, which is purely mechanical, and
    does not change the logic itself.
    2943f994
Name
Last commit
Last update
cmd Loading commit data...
docs Loading commit data...
etc Loading commit data...
internal Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.travis.yml Loading commit data...
INSTALL.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
UPGRADING.md Loading commit data...
chasquid.go Loading commit data...
coverage_test.go Loading commit data...
dnsoverride.go Loading commit data...