passing full path when assign volume locations

This commit is contained in:
Chris Lu
2020-10-25 15:46:29 -07:00
parent f375b93aef
commit e219c57849
7 changed files with 16 additions and 17 deletions

View File

@@ -387,7 +387,7 @@ func (f *WebDavFile) Write(buf []byte) (int, error) {
Count: 1,
Replication: "",
Collection: f.fs.option.Collection,
Path: dir,
Path: f.name,
}
resp, err := client.AssignVolume(ctx, request)