diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-10-06 17:53:51 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-11-06 15:57:03 +0100 |
commit | 0e72ccd733207877bd8edca55fd6aed0877139e5 (patch) | |
tree | 948fd6eebea259c8a09b313427e0112433418d30 /lib/syncthing | |
parent | ac9e80f7f32a1c04c171a4d208f0ab7d3a5ca154 (diff) |
Cleanup and improvements
- Save server data into file
- FolderType is now a string
- cleanup useless code
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib/syncthing')
-rw-r--r-- | lib/syncthing/folder-st.go | 2 | ||||
-rw-r--r-- | lib/syncthing/st.go | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/syncthing/folder-st.go b/lib/syncthing/folder-st.go index 7e1fe55..ae95b27 100644 --- a/lib/syncthing/folder-st.go +++ b/lib/syncthing/folder-st.go @@ -57,8 +57,6 @@ func (f *STFolder) Add(cfg folder.FolderConfig) (*folder.FolderConfig, error) { f.fConfig = cfg - f.fConfig.DataCloudSync.BuilderSThgID = f.st.MyID // FIXME - should be removed after local ST config rework - // Update Syncthing folder // (expect if status is ErrorConfig) // TODO: add cache to avoid multiple requests on startup diff --git a/lib/syncthing/st.go b/lib/syncthing/st.go index 99a17a1..e8e9f44 100644 --- a/lib/syncthing/st.go +++ b/lib/syncthing/st.go @@ -227,7 +227,6 @@ func (s *SyncThing) Start() (*exec.Cmd, error) { env := []string{ "STNODEFAULTFOLDER=1", "STNOUPGRADE=1", - "STNORESTART=1", // FIXME SEB remove ? } s.STCmd, err = s.startProc("syncthing", args, env, &s.exitSTChan) |