fix(import): import from slave not working / fix(recycle): skip sending delete request if no blob needs to be deleted in this batch
This commit is contained in:
@@ -190,8 +190,7 @@ func SlaveFileListRoute(srcPath string, recursive bool) string {
|
||||
query := url.Values{}
|
||||
query.Set("recursive", strconv.FormatBool(recursive))
|
||||
query.Set("path", srcPath)
|
||||
route, _ := url.Parse(constants.APIPrefixSlave + fmt.Sprintf("%s?%s", base, query.Encode()))
|
||||
return route.String()
|
||||
return fmt.Sprintf("%s?%s", base, query.Encode())
|
||||
}
|
||||
|
||||
func SlaveThumbUrl(base *url.URL, srcPath, ext string) *url.URL {
|
||||
|
||||
Reference in New Issue
Block a user