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:
@@ -5,11 +5,11 @@ package vfs
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/drakkan/sftpgo/utils"
|
||||
"github.com/drakkan/sftpgo/version"
|
||||
)
|
||||
|
||||
func init() {
|
||||
utils.AddFeature("-s3")
|
||||
version.AddFeature("-s3")
|
||||
}
|
||||
|
||||
// NewS3Fs returns an error, S3 is disabled
|
||||
|
||||
Reference in New Issue
Block a user