Code cleanup and avoid server race

This commit is contained in:
Dane Everitt
2020-07-19 17:50:39 -07:00
parent e28c05ae56
commit 5079c67aee
2 changed files with 3 additions and 6 deletions

View File

@@ -6,7 +6,6 @@ import (
"github.com/patrickmn/go-cache"
"github.com/pkg/errors"
"github.com/pterodactyl/wings/api"
"github.com/pterodactyl/wings/config"
"github.com/remeh/sizedwaitgroup"
"time"
)
@@ -109,7 +108,6 @@ func FromConfiguration(data *api.ServerConfigurationResponse) (*Server, error) {
Server: s,
}
s.Filesystem = Filesystem{
Configuration: &config.Get().System,
Server: s,
}