Refactor filesystem to not be dependent on a server struct
This commit is contained in:
@@ -15,7 +15,7 @@ func (s *Server) UpdateConfigurationFiles() {
|
||||
f := cf
|
||||
|
||||
pool.Submit(func() {
|
||||
p, err := s.Filesystem.SafePath(f.FileName)
|
||||
p, err := s.Filesystem().SafePath(f.FileName)
|
||||
if err != nil {
|
||||
s.Log().WithField("error", err).Error("failed to generate safe path for configuration file")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user