mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
convert uses of interface{} to any
Done via:
find . -name "*.go" | xargs sed -i -E 's/interface\{\}/any/g'
PiperOrigin-RevId: 487033228
This commit is contained in:
committed by
gVisor bot
parent
c82b70015d
commit
d8aa09e04c
@@ -74,7 +74,7 @@ type Stack interface {
|
||||
SetTCPRecovery(recovery TCPLossRecovery) error
|
||||
|
||||
// Statistics reports stack statistics.
|
||||
Statistics(stat interface{}, arg string) error
|
||||
Statistics(stat any, arg string) error
|
||||
|
||||
// RouteTable returns the network stack's route table.
|
||||
RouteTable() []Route
|
||||
|
||||
@@ -139,7 +139,7 @@ func (s *TestStack) SetTCPRecovery(recovery TCPLossRecovery) error {
|
||||
}
|
||||
|
||||
// Statistics implements Stack.
|
||||
func (s *TestStack) Statistics(stat interface{}, arg string) error {
|
||||
func (s *TestStack) Statistics(stat any, arg string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user