Update command_fs_merge_volumes.go (#6406)

This commit is contained in:
Brad Murray
2025-01-02 11:57:26 -05:00
committed by GitHub
parent 56123d1b03
commit bc3640ee64

View File

@@ -112,15 +112,15 @@ func (c *commandFsMergeVolumes) Do(args []string, commandEnv *CommandEnv, writer
return
}
for _, chunk := range entry.Chunks {
if chunk.IsChunkManifest {
fmt.Printf("Change volume id for large file is not implemented yet: %s/%s\n", parentPath, entry.Name)
continue
}
chunkVolumeId := needle.VolumeId(chunk.Fid.VolumeId)
toVolumeId, found := plan[chunkVolumeId]
if !found {
continue
}
if chunk.IsChunkManifest {
fmt.Printf("Change volume id for large file is not implemented yet: %s/%s\n", parentPath, entry.Name)
continue
}
path := parentPath.Child(entry.Name)
fmt.Printf("move %s(%s)\n", path, chunk.GetFileIdString())