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:
@@ -21,7 +21,7 @@ import (
|
||||
|
||||
"github.com/drakkan/sftpgo/logger"
|
||||
"github.com/drakkan/sftpgo/metrics"
|
||||
"github.com/drakkan/sftpgo/utils"
|
||||
"github.com/drakkan/sftpgo/version"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -41,7 +41,7 @@ type GCSFs struct {
|
||||
}
|
||||
|
||||
func init() {
|
||||
utils.AddFeature("+gcs")
|
||||
version.AddFeature("+gcs")
|
||||
}
|
||||
|
||||
// NewGCSFs returns an GCSFs object that allows to interact with Google Cloud Storage
|
||||
|
||||
Reference in New Issue
Block a user