diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-20 22:29:59 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-20 22:29:59 +0200 |
commit | 8f41ac456fc92a9ec333579498e9933d73404905 (patch) | |
tree | 6be8211c41c7ff19a6b23bd1d1d289a39bd6373e /lib/syncthing | |
parent | dd62e1e5ec325c77164c578d11ba4c0e118307d9 (diff) |
Remove duplicate fields and set default SDK dir.
- Removed duplicate fields between Config and FileConfig
- set /xdt/sdk as default SDK directory
Diffstat (limited to 'lib/syncthing')
-rw-r--r-- | lib/syncthing/stfolder.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |