Bläddra i källkod

lib/connections: Wrong context snuck in somehow

Jakob Borg 7 år sedan
förälder
incheckning
bdbaa84989
1 ändrade filer med 1 tillägg och 1 borttagningar
  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"
 )