mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
fixed error with double slash in vmbackupmanager (#557)
Signed-off-by: Alexander Marshalov <_@marshalov.org>
This commit is contained in:
parent
5d22c36904
commit
9855b38da2
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,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