浏览代码

lib/connections: Wrong context snuck in somehow

Jakob Borg 7 年之前
父节点
当前提交
bdbaa84989
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/connections/limiter.go

+ 1 - 1
lib/connections/limiter.go

@@ -7,6 +7,7 @@
 package connections
 
 import (
+	"context"
 	"fmt"
 	"io"
 	"sync/atomic"
@@ -14,7 +15,6 @@ import (
 	"github.com/syncthing/syncthing/lib/config"
 	"github.com/syncthing/syncthing/lib/protocol"
 	"github.com/syncthing/syncthing/lib/sync"
-	"golang.org/x/net/context"
 	"golang.org/x/time/rate"
 )