Skip to content

Commit

Permalink
br: fix incorrect uri for the file storage (#48453) (#48722)
Browse files Browse the repository at this point in the history
close #48452
  • Loading branch information
ti-chi-bot authored Dec 8, 2023
1 parent f85014c commit fd43dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/pkg/storage/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (l *LocalStorage) WalkDir(_ context.Context, opt *WalkOption, fn func(strin

// URI returns the base path as an URI with a file:/// prefix.
func (l *LocalStorage) URI() string {
return LocalURIPrefix + "/" + l.base
return LocalURIPrefix + l.base
}

// Open a Reader by file path, path is a relative path to base path.
Expand Down

0 comments on commit fd43dcb

Please sign in to comment.