From 26cd6c5372ee60c41b2d76803bf17251aef1bbe8 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 23 Nov 2014 23:37:40 +0100 Subject: [PATCH] Add maps directory to sftp backend --- backend/sftp.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/sftp.go b/backend/sftp.go index 0299cd133..44042e443 100644 --- a/backend/sftp.go +++ b/backend/sftp.go @@ -77,6 +77,7 @@ func OpenSFTP(dir string, program string, args ...string) (*SFTP, error) { filepath.Join(dir, dataPath), filepath.Join(dir, snapshotPath), filepath.Join(dir, treePath), + filepath.Join(dir, mapPath), filepath.Join(dir, lockPath), filepath.Join(dir, keyPath), filepath.Join(dir, tempPath), @@ -133,6 +134,7 @@ func CreateSFTP(dir string, program string, args ...string) (*SFTP, error) { filepath.Join(dir, dataPath), filepath.Join(dir, snapshotPath), filepath.Join(dir, treePath), + filepath.Join(dir, mapPath), filepath.Join(dir, lockPath), filepath.Join(dir, keyPath), filepath.Join(dir, tempPath),