all: fix golangci-lint errors
These erroneously blocked a recent PR, which I fixed by simply re-running CI. But we might as well fix them anyway. These are mostly `printf` to `print` and a couple of `!=` to `!Equal()` Updates #cleanup Signed-off-by: Will Norris <will@tailscale.com>
This commit is contained in:
@ -41,7 +41,7 @@ func TestSynologyProxyFromConfigCached(t *testing.T) {
|
||||
t.Fatalf("got %s, %v; want nil, nil", val, err)
|
||||
}
|
||||
|
||||
if got, want := cache.updated, time.Unix(0, 0); got != want {
|
||||
if got, want := cache.updated.UTC(), time.Unix(0, 0).UTC(); !got.Equal(want) {
|
||||
t.Fatalf("got %s, want %s", got, want)
|
||||
}
|
||||
if cache.httpProxy != nil {
|
||||
|
Reference in New Issue
Block a user