"os/exec"
"github.com/Sirupsen/logrus"
- "github.com/iotbzh/xds-agent/lib/common"
"github.com/iotbzh/xds-agent/lib/xdsconfig"
+ common "github.com/iotbzh/xds-common/golib"
"github.com/syncthing/syncthing/lib/config"
)
time.Sleep(500 * time.Millisecond)
if common.Exists(stConfigFile) {
break
- }
+ }
}
if tmo <= 0 {
return nil, fmt.Errorf("Cannot start Syncthing for config file creation")