mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-22 07:30:25 +00:00
d6dc3a507e
Fixes #241
18 lines
376 B
Go
18 lines
376 B
Go
// +build noazblob
|
|
|
|
package vfs
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"github.com/drakkan/sftpgo/version"
|
|
)
|
|
|
|
func init() {
|
|
version.AddFeature("-azblob")
|
|
}
|
|
|
|
// NewAzBlobFs returns an error, Azure Blob storage is disabled
|
|
func NewAzBlobFs(connectionID, localTempDir, mountPath string, config AzBlobFsConfig) (Fs, error) {
|
|
return nil, errors.New("Azure Blob Storage disabled at build time")
|
|
}
|