mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
add build tag to disable metrics
This commit is contained in:
@@ -14,6 +14,7 @@ import (
|
||||
|
||||
"github.com/drakkan/sftpgo/logger"
|
||||
"github.com/drakkan/sftpgo/utils"
|
||||
"github.com/drakkan/sftpgo/version"
|
||||
"github.com/drakkan/sftpgo/vfs"
|
||||
)
|
||||
|
||||
@@ -57,7 +58,7 @@ type compatUserV2 struct {
|
||||
}
|
||||
|
||||
func init() {
|
||||
utils.AddFeature("+bolt")
|
||||
version.AddFeature("+bolt")
|
||||
}
|
||||
|
||||
func initializeBoltProvider(basePath string) error {
|
||||
|
||||
Reference in New Issue
Block a user