From 74b51f0ad394851f3a3bd1160ef575f645be2cf5 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Fri, 23 Apr 2021 22:53:13 +0200 Subject: [PATCH] update nfpm --- pkgs/build.sh | 2 +- vfs/sftpfs.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/build.sh b/pkgs/build.sh index 685321e5..fa09a92d 100755 --- a/pkgs/build.sh +++ b/pkgs/build.sh @@ -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 diff --git a/vfs/sftpfs.go b/vfs/sftpfs.go index 759f6f30..8dd95afe 100644 --- a/vfs/sftpfs.go +++ b/vfs/sftpfs.go @@ -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())