From 7ea68f1fc64a79eb52eb352df8a595b9be65af2b Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sat, 5 May 2018 16:22:34 +0100 Subject: [PATCH] sftp: require go1.9+ after golang.org/x/crypto/ssh update --- backend/sftp/sftp.go | 2 +- backend/sftp/sftp_internal_test.go | 2 +- backend/sftp/sftp_test.go | 2 +- backend/sftp/sftp_unsupported.go | 2 +- backend/sftp/stringlock.go | 2 +- backend/sftp/stringlock_test.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/sftp/sftp.go b/backend/sftp/sftp.go index 38acd3ad8..8e4eb905e 100644 --- a/backend/sftp/sftp.go +++ b/backend/sftp/sftp.go @@ -1,6 +1,6 @@ // Package sftp provides a filesystem interface using github.com/pkg/sftp -// +build !plan9,go1.8 +// +build !plan9,go1.9 package sftp diff --git a/backend/sftp/sftp_internal_test.go b/backend/sftp/sftp_internal_test.go index 80a75b8e9..ad99ff7d2 100644 --- a/backend/sftp/sftp_internal_test.go +++ b/backend/sftp/sftp_internal_test.go @@ -1,4 +1,4 @@ -// +build !plan9,go1.8 +// +build !plan9,go1.9 package sftp diff --git a/backend/sftp/sftp_test.go b/backend/sftp/sftp_test.go index 824d99bc6..10d7376b2 100644 --- a/backend/sftp/sftp_test.go +++ b/backend/sftp/sftp_test.go @@ -1,6 +1,6 @@ // Test Sftp filesystem interface -// +build !plan9,go1.8 +// +build !plan9,go1.9 package sftp_test diff --git a/backend/sftp/sftp_unsupported.go b/backend/sftp/sftp_unsupported.go index e3d09e48e..e9ecd15b0 100644 --- a/backend/sftp/sftp_unsupported.go +++ b/backend/sftp/sftp_unsupported.go @@ -1,6 +1,6 @@ // Build for sftp for unsupported platforms to stop go complaining // about "no buildable Go source files " -// +build plan9 !go1.8 +// +build plan9 !go1.9 package sftp diff --git a/backend/sftp/stringlock.go b/backend/sftp/stringlock.go index 157ee362b..a1bfab41e 100644 --- a/backend/sftp/stringlock.go +++ b/backend/sftp/stringlock.go @@ -1,4 +1,4 @@ -// +build !plan9,go1.8 +// +build !plan9,go1.9 package sftp diff --git a/backend/sftp/stringlock_test.go b/backend/sftp/stringlock_test.go index 9c129c343..6e368f45a 100644 --- a/backend/sftp/stringlock_test.go +++ b/backend/sftp/stringlock_test.go @@ -1,4 +1,4 @@ -// +build !plan9,go1.8 +// +build !plan9,go1.9 package sftp