mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-08 15:28:05 +03:00
add build tag to disable metrics
This commit is contained in:
@@ -5,11 +5,11 @@ package vfs
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/drakkan/sftpgo/utils"
|
||||
"github.com/drakkan/sftpgo/version"
|
||||
)
|
||||
|
||||
func init() {
|
||||
utils.AddFeature("-gcs")
|
||||
version.AddFeature("-gcs")
|
||||
}
|
||||
|
||||
// NewGCSFs returns an error, GCS is disabled
|
||||
|
||||
Reference in New Issue
Block a user