mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-07 04:20:12 +02:00
21f4cf7ab5
- Use filepaths with /tmp for tests instead - Only mock functions where filepath can't be specified such as user.Lookup
8 lines
182 B
Go
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)
|
|
}
|