mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 22:30:56 +03:00
add build tag to disable metrics
This commit is contained in:
@@ -13,6 +13,7 @@ import (
|
||||
|
||||
"github.com/drakkan/sftpgo/logger"
|
||||
"github.com/drakkan/sftpgo/utils"
|
||||
"github.com/drakkan/sftpgo/version"
|
||||
"github.com/drakkan/sftpgo/vfs"
|
||||
)
|
||||
|
||||
@@ -69,7 +70,7 @@ type SQLiteProvider struct {
|
||||
}
|
||||
|
||||
func init() {
|
||||
utils.AddFeature("+sqlite")
|
||||
version.AddFeature("+sqlite")
|
||||
}
|
||||
|
||||
func initializeSQLiteProvider(basePath string) error {
|
||||
|
||||
Reference in New Issue
Block a user