Skip to content

Commit

Permalink
Ensure trailing delimiter in the SSH storage prefix (#1130)
Browse files Browse the repository at this point in the history
  • Loading branch information
usernamedt committed Oct 26, 2021
1 parent a29cf12 commit 1a00965
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/storages/sh/folder.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ func ConfigureFolder(prefix string, settings map[string]string) (storage.Folder,
return nil, NewFolderError(err, "Fail connect via sftp. Address: %s", address)
}

path = storage.AddDelimiterToPath(path)

return &Folder{
extend(sftpClient), path,
}, nil
Expand Down

0 comments on commit 1a00965

Please sign in to comment.