diff options
Diffstat (limited to 'extras/hs-test/proxy_test.go')
-rw-r--r-- | extras/hs-test/proxy_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hs-test/proxy_test.go b/extras/hs-test/proxy_test.go index 192451fe8f4..7cb33169b8e 100644 --- a/extras/hs-test/proxy_test.go +++ b/extras/hs-test/proxy_test.go @@ -589,7 +589,7 @@ func vppConnectUdpStressLoad(s *VppUdpProxySuite) { if e != nil { if errors.Is(e, os.ErrDeadlineExceeded) { timed += 1 - } else if errors.Is(e, err.(*CapsuleParseError)) { + } else if errors.Is(e, &CapsuleParseError{}) { invalidData.Add(1) } else { re += 1 |