From 4ede39a669fc3f6a93dd17e5bd14b238e7e5d8eb Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Sun, 30 Aug 2020 19:53:00 +0800 Subject: [PATCH] Chore: code style (#933) --- adapters/outboundgroup/urltest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/outboundgroup/urltest.go b/adapters/outboundgroup/urltest.go index 7073b5ec..c20340ec 100644 --- a/adapters/outboundgroup/urltest.go +++ b/adapters/outboundgroup/urltest.go @@ -78,7 +78,7 @@ func (u *URLTest) fast() C.Proxy { } // tolerance - if u.fastNode == nil || u.fastNode.LastDelay() > fast.LastDelay() + u.tolerance { + if u.fastNode == nil || u.fastNode.LastDelay() > fast.LastDelay()+u.tolerance { u.fastNode = fast }