fix windows cli compile problem

Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
This commit is contained in:
Lyndon-Li
2024-10-23 14:49:44 +08:00
parent 706dd13020
commit 53ef988c15
+1 -1
View File
@@ -33,7 +33,7 @@ type BlockOutput struct {
targetFileName string
}
func (o *BlockOutput) WriteFile(ctx context.Context, relativePath string, remoteFile fs.File) error {
func (o *BlockOutput) WriteFile(ctx context.Context, relativePath string, remoteFile fs.File, progressCb restore.FileWriteProgress) error {
return fmt.Errorf("block mode is not supported for Windows")
}