From 0e72ccd733207877bd8edca55fd6aed0877139e5 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Fri, 6 Oct 2017 17:53:51 +0200 Subject: Cleanup and improvements - Save server data into file - FolderType is now a string - cleanup useless code Signed-off-by: Sebastien Douheret --- lib/syncthing/folder-st.go | 2 -- lib/syncthing/st.go | 1 - 2 files changed, 3 deletions(-) (limited to 'lib/syncthing') 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) -- cgit 1.2.3-korg