diff --git a/weed-fs/src/cmd/weedvolume/weedvolume.go b/weed-fs/src/cmd/weedvolume/weedvolume.go index 9d609d8ae..9d07856b8 100644 --- a/weed-fs/src/cmd/weedvolume/weedvolume.go +++ b/weed-fs/src/cmd/weedvolume/weedvolume.go @@ -143,7 +143,7 @@ func parseURLPath(path string) (vid, fid, ext string) { ext = "" if dotIndex > 0 { fid = path[commaIndex+1 : dotIndex] - ext = path[dotIndex+1:] + ext = path[dotIndex:] } return }