mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
refactor: add an enum for filesystem providers
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
committed by
Nicola Murino
parent
c992072286
commit
5e2db77ef9
@@ -733,7 +733,7 @@ func TestSSHCommandsRemoteFs(t *testing.T) {
|
||||
}()
|
||||
user := dataprovider.User{}
|
||||
user.FsConfig = dataprovider.Filesystem{
|
||||
Provider: 1,
|
||||
Provider: dataprovider.S3FilesystemProvider,
|
||||
S3Config: vfs.S3FsConfig{
|
||||
Bucket: "s3bucket",
|
||||
Endpoint: "endpoint",
|
||||
|
||||
Reference in New Issue
Block a user