mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-30 15:22:07 +00:00
fixed error with double slash in vmbackupmanager (#557)
Signed-off-by: Alexander Marshalov <_@marshalov.org>
This commit is contained in:
parent
a665225e71
commit
7e9a74c865
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ func NewRemoteFS(path string) (common.RemoteFS, error) {
|
|||
return nil, fmt.Errorf("dir must be absolute; got %q", dir)
|
||||
}
|
||||
fs := &fsremote.FS{
|
||||
Dir: dir,
|
||||
Dir: filepath.Clean(dir),
|
||||
}
|
||||
return fs, nil
|
||||
case "gcs", "gs":
|
||||
|
|
Loading…
Reference in a new issue