update nfpm

This commit is contained in:
Nicola Murino 2021-04-23 22:53:13 +02:00
parent b11865f971
commit 74b51f0ad3
No known key found for this signature in database
GPG key ID: 2F1FB59433D5A8CB
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
NFPM_VERSION=2.4.0
NFPM_VERSION=2.5.0
NFPM_ARCH=${NFPM_ARCH:-amd64}
if [ -z ${SFTPGO_VERSION} ]
then

View file

@ -26,7 +26,7 @@ import (
)
const (
// osFsName is the name for the local Fs implementation
// sftpFsName is the name for the SFTP Fs implementation
sftpFsName = "sftpfs"
)
@ -172,7 +172,7 @@ type SFTPFs struct {
err chan error
}
// NewSFTPFs returns an SFTPFa object that allows to interact with an SFTP server
// NewSFTPFs returns an SFTPFs object that allows to interact with an SFTP server
func NewSFTPFs(connectionID, mountPath, localTempDir string, forbiddenSelfUsernames []string, config SFTPFsConfig) (Fs, error) {
if localTempDir == "" {
localTempDir = filepath.Clean(os.TempDir())