From bced73c947d264ed5bf3b3fa3873e537d5425ef3 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 7 Aug 2017 21:34:05 +0100 Subject: [PATCH] sftp: fix compile for go1.6 --- sftp/sftp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sftp/sftp.go b/sftp/sftp.go index a7a696b44..3f65aea97 100644 --- a/sftp/sftp.go +++ b/sftp/sftp.go @@ -5,7 +5,6 @@ package sftp import ( - "context" "io" "io/ioutil" "os" @@ -20,6 +19,7 @@ import ( "github.com/pkg/sftp" "github.com/xanzy/ssh-agent" "golang.org/x/crypto/ssh" + "golang.org/x/net/context" "golang.org/x/time/rate" )