1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

serve restic: disallow on go1.8 because of dependent library changes

golang.org/x/net/http2 no longer builds on go1.8
This commit is contained in:
Nick Craig-Wood
2018-11-26 14:07:25 +00:00
parent d0eb8ddc30
commit e56c6402a7
7 changed files with 25 additions and 2 deletions

View File

@@ -16,7 +16,9 @@ func init() {
if webdav.Command != nil {
Command.AddCommand(webdav.Command)
}
Command.AddCommand(restic.Command)
if restic.Command != nil {
Command.AddCommand(restic.Command)
}
if ftp.Command != nil {
Command.AddCommand(ftp.Command)
}