// Mounts are propogated for /var/lib/docker when a container is started. If
// the container in question was started after the syncthing container, the
// mount will not be present. This restarts just the syncthing container on the
// remote node to refresh the mount table. It will potentially interrupt any
// other folders operating on that host, but syncthing will quickly reconnect
// and startup again.
Mounts are propogated for /var/lib/docker when a container is started. If
the container in question was started after the syncthing container, the
mount will not be present. This restarts just the syncthing container on the
remote node to refresh the mount table. It will potentially interrupt any
other folders operating on that host, but syncthing will quickly reconnect
and startup again.
// Mounts are propogated for / var / lib / docker when a container is started . If // the container in question was started after the syncthing container the // mount will not be present . This restarts just the syncthing container on the // remote node to refresh the mount table . It will potentially interrupt any // other folders operating on that host but syncthing will quickly reconnect // and startup again .
func (f *Folder) refreshSyncthing() error {
	if _, err := f.radarClient.RestartSyncthing(
		context.Background(), &empty.Empty{}); err != nil {
		return debug.ErrorLocation(err)
	}
	return nil
}
func ( f * Folder ) refreshSyncthing ( ) error { if _ , err := f . radarClient . RestartSyncthing ( context . Background ( ) , & empty . Empty { } ) ; err != nil { return debug . ErrorLocation ( err ) } return nil }
Mounts are propogated for /var/lib/docker when a container is started.
Mounts are propogated for / var / lib / docker when a container is started .