From 8f41ac456fc92a9ec333579498e9933d73404905 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Tue, 20 Jun 2017 22:29:59 +0200 Subject: Remove duplicate fields and set default SDK dir. - Removed duplicate fields between Config and FileConfig - set /xdt/sdk as default SDK directory --- lib/syncthing/stfolder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/syncthing/stfolder.go') diff --git a/lib/syncthing/stfolder.go b/lib/syncthing/stfolder.go index e7ee0ec..661e19d 100644 --- a/lib/syncthing/stfolder.go +++ b/lib/syncthing/stfolder.go @@ -55,7 +55,7 @@ func (s *SyncThing) FolderChange(f xdsconfig.FolderConfig) error { folder := config.FolderConfiguration{ ID: id, Label: label, - RawPath: filepath.Join(s.conf.ShareRootDir, f.RelativePath), + RawPath: filepath.Join(s.conf.FileConf.ShareRootDir, f.RelativePath), } if s.conf.FileConf.SThgConf.RescanIntervalS > 0 { -- cgit 1.2.3-korg