mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
add build tag to disable metrics
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
_ "github.com/lib/pq"
|
||||
|
||||
"github.com/drakkan/sftpgo/logger"
|
||||
"github.com/drakkan/sftpgo/utils"
|
||||
"github.com/drakkan/sftpgo/version"
|
||||
"github.com/drakkan/sftpgo/vfs"
|
||||
)
|
||||
|
||||
@@ -44,7 +44,7 @@ type PGSQLProvider struct {
|
||||
}
|
||||
|
||||
func init() {
|
||||
utils.AddFeature("+pgsql")
|
||||
version.AddFeature("+pgsql")
|
||||
}
|
||||
|
||||
func initializePGSQLProvider() error {
|
||||
|
||||
Reference in New Issue
Block a user