Merge branch 'main' into v2
* main: feat(fs, config): add support for custom filesystem type construction (#9887) build(deps): update dependencies (#10020)
This commit is contained in:
@@ -74,7 +74,7 @@ func (v external) Archive(filePath string) error {
|
||||
}
|
||||
|
||||
context := map[string]string{
|
||||
"%FOLDER_FILESYSTEM%": v.filesystem.Type().String(),
|
||||
"%FOLDER_FILESYSTEM%": string(v.filesystem.Type()),
|
||||
"%FOLDER_PATH%": v.filesystem.URI(),
|
||||
"%FILE_PATH%": filePath,
|
||||
}
|
||||
|
||||
@@ -139,10 +139,12 @@ func TestCreateVersionPath(t *testing.T) {
|
||||
}
|
||||
|
||||
folderCfg := config.FolderConfiguration{
|
||||
ID: "default",
|
||||
Path: tmpDir,
|
||||
ID: "default",
|
||||
FilesystemType: config.FilesystemTypeBasic,
|
||||
Path: tmpDir,
|
||||
Versioning: config.VersioningConfiguration{
|
||||
Type: "staggered",
|
||||
FSType: config.FilesystemTypeBasic,
|
||||
FSPath: versionsDir,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user