Skip to content

Commit

Permalink
Merge pull request #8337 from Lyndon-Li/fix-windows-cli-compile-problem
Browse files Browse the repository at this point in the history
Fix Windows cli compile problem
  • Loading branch information
Lyndon-Li authored Oct 23, 2024
2 parents 706dd13 + 53ef988 commit a9b5dbc
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 a9b5dbc

Please sign in to comment.