@@ -33,7 +33,6 @@ import (
33
33
"github.com/pterodactyl/wings/remote"
34
34
"github.com/pterodactyl/wings/router"
35
35
"github.com/pterodactyl/wings/server"
36
- "github.com/pterodactyl/wings/sftp"
37
36
"github.com/pterodactyl/wings/system"
38
37
39
38
apierrors "k8s.io/apimachinery/pkg/api/errors"
@@ -141,9 +140,9 @@ func rootCmdRun(cmd *cobra.Command, _ []string) {
141
140
log .WithField ("error" , err ).Fatal ("failed to load server configurations" )
142
141
}
143
142
144
- if err := environment .ConfigureDocker (cmd .Context ()); err != nil {
145
- log .WithField ("error" , err ).Fatal ("failed to configure docker environment" )
146
- }
143
+ // if err := environment.ConfigureDocker(cmd.Context()); err != nil {
144
+ // log.WithField("error", err).Fatal("failed to configure docker environment")
145
+ // }
147
146
148
147
if err := config .WriteToDisk (config .Get ()); err != nil {
149
148
log .WithField ("error" , err ).Fatal ("failed to write configuration to disk" )
@@ -272,13 +271,13 @@ func rootCmdRun(cmd *cobra.Command, _ []string) {
272
271
s .StartAsync ()
273
272
}
274
273
275
- go func () {
276
- // Run the SFTP server.
277
- if err := sftp .New (manager ).Run (); err != nil {
278
- log .WithError (err ).Fatal ("failed to initialize the sftp server" )
279
- return
280
- }
281
- }()
274
+ // go func() {
275
+ // // Run the SFTP server.
276
+ // if err := sftp.New(manager).Run(); err != nil {
277
+ // log.WithError(err).Fatal("failed to initialize the sftp server")
278
+ // return
279
+ // }
280
+ // }()
282
281
283
282
go func () {
284
283
log .Info ("updating server states on Panel: marking installing/restoring servers as normal" )
0 commit comments