summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2021-10-15 15:16:14 -0700
committergVisor bot <gvisor-bot@google.com>2021-10-15 15:19:11 -0700
commit706f6f35f468c63cfaf385fb099af09b835bcfe1 (patch)
treeeef7b7ae7923d19fbbef512344da6de2174b3c26 /pkg/tcpip
parente4fc15bd88f0b62fb8923f1417175f015482c0bd (diff)
Satisfy nogo
PiperOrigin-RevId: 403479257
Diffstat (limited to 'pkg/tcpip')
-rw-r--r--pkg/tcpip/adapters/gonet/gonet_test.go2
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)