mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 23:20:24 +00:00
fix build on Windows
This commit is contained in:
parent
bcf0fa073e
commit
1ac610da1a
3 changed files with 1 additions and 4 deletions
|
@ -90,8 +90,5 @@ func getCustomServeFlags() []string {
|
||||||
if logCompress != defaultLogCompress {
|
if logCompress != defaultLogCompress {
|
||||||
result = append(result, "--"+logCompressFlag+"=true")
|
result = append(result, "--"+logCompressFlag+"=true")
|
||||||
}
|
}
|
||||||
if profiler != defaultProfiler {
|
|
||||||
result = append(result, "--"+profilerFlag+"=true")
|
|
||||||
}
|
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,6 @@ var (
|
||||||
LogMaxAge: logMaxAge,
|
LogMaxAge: logMaxAge,
|
||||||
LogCompress: logCompress,
|
LogCompress: logCompress,
|
||||||
LogVerbose: logVerbose,
|
LogVerbose: logVerbose,
|
||||||
Profiler: profiler,
|
|
||||||
Shutdown: make(chan bool),
|
Shutdown: make(chan bool),
|
||||||
}
|
}
|
||||||
winService := service.WindowsService{
|
winService := service.WindowsService{
|
||||||
|
|
|
@ -15,6 +15,7 @@ import (
|
||||||
"github.com/drakkan/sftpgo/ftpd"
|
"github.com/drakkan/sftpgo/ftpd"
|
||||||
"github.com/drakkan/sftpgo/httpd"
|
"github.com/drakkan/sftpgo/httpd"
|
||||||
"github.com/drakkan/sftpgo/logger"
|
"github.com/drakkan/sftpgo/logger"
|
||||||
|
"github.com/drakkan/sftpgo/telemetry"
|
||||||
"github.com/drakkan/sftpgo/webdavd"
|
"github.com/drakkan/sftpgo/webdavd"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue