mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Fix some lint issues
PiperOrigin-RevId: 675064804
This commit is contained in:
@@ -224,7 +224,7 @@ func TestExample(t *testing.T) {
|
||||
return nil
|
||||
}
|
||||
if err := testutil.Poll(check, time.Second); err != nil {
|
||||
t.Errorf(err.Error())
|
||||
t.Errorf("%s", err.Error())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -171,7 +171,7 @@ func (c *testContext) waitForPackets(n int, to <-chan time.Time, errorStr string
|
||||
select {
|
||||
case <-c.packetCh:
|
||||
case <-to:
|
||||
c.t.Fatalf(errorStr)
|
||||
c.t.Fatal(errorStr)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@ func (u *UnresolvedLinknames) resolveRemaining(pass *analysis.Pass, resolvePos f
|
||||
}
|
||||
}
|
||||
|
||||
// go:linkname can be rather confusing. https://pkg.go.dev/cmd/compile says:
|
||||
// "go:linkname" can be rather confusing. https://pkg.go.dev/cmd/compile says:
|
||||
//
|
||||
// //go:linkname localname [importpath.name]
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user