diff --git a/br/pkg/storage/local.go b/br/pkg/storage/local.go index 0259e715c7968..21c6c42f2b6fe 100644 --- a/br/pkg/storage/local.go +++ b/br/pkg/storage/local.go @@ -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.