diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2021-10-15 15:16:14 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-10-15 15:19:11 -0700 |
commit | 706f6f35f468c63cfaf385fb099af09b835bcfe1 (patch) | |
tree | eef7b7ae7923d19fbbef512344da6de2174b3c26 | |
parent | e4fc15bd88f0b62fb8923f1417175f015482c0bd (diff) |
Satisfy nogo
PiperOrigin-RevId: 403479257
-rw-r--r-- | pkg/tcpip/adapters/gonet/gonet_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/adapters/gonet/gonet_test.go b/pkg/tcpip/adapters/gonet/gonet_test.go index c8460e63c..dcc9fff17 100644 --- a/pkg/tcpip/adapters/gonet/gonet_test.go +++ b/pkg/tcpip/adapters/gonet/gonet_test.go @@ -630,7 +630,7 @@ func makePipe() (c1, c2 net.Conn, stop func(), err error) { AddressWithPrefix: ip.WithPrefix(), } if err := s.AddProtocolAddress(NICID, protocolAddr, stack.AddressProperties{}); err != nil { - return nil, nil, nil, fmt.Errorf("AddProtocolAddress(%d, %+v, {}): %w", NICID, protocolAddr, err) + return nil, nil, nil, fmt.Errorf("AddProtocolAddress(%d, %+v, {}): %s", NICID, protocolAddr, err) } l, err := ListenTCP(s, addr, ipv4.ProtocolNumber) |