Skip to content

Commit

Permalink
fix windows cli compile problem
Browse files Browse the repository at this point in the history
Signed-off-by: Lyndon-Li <[email protected]>
  • Loading branch information
Lyndon-Li committed Oct 23, 2024
1 parent 706dd13 commit 53ef988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/uploader/kopia/block_restore_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down

0 comments on commit 53ef988

Please sign in to comment.