Files
gluetun/internal/storage/flush.go
Quentin McGaw (desktop) 21f4cf7ab5 Maint: do not mock os functions
- Use filepaths with /tmp for tests instead
- Only mock functions where filepath can't be specified such as user.Lookup
2021-07-23 16:06:19 +00:00

8 lines
182 B
Go

package storage
import "github.com/qdm12/gluetun/internal/models"
func (s *storage) FlushToFile(allServers models.AllServers) error {
return flushToFile(s.filepath, allServers)
}