From 1c579d73f8d40c158477bbb5245e249a609f522f Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Tue, 10 Oct 2023 20:54:10 +0200 Subject: [PATCH] suppress lint warning Signed-off-by: Nicola Murino --- internal/sftpd/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/sftpd/server.go b/internal/sftpd/server.go index 3a723b5c..dc387b0c 100644 --- a/internal/sftpd/server.go +++ b/internal/sftpd/server.go @@ -993,7 +993,7 @@ func (c *Configuration) getHostKeyAlgorithms(keyFormat string) []string { } // If no host keys are defined we try to use or generate the default ones. -func (c *Configuration) checkAndLoadHostKeys(configDir string, serverConfig *ssh.ServerConfig) error { +func (c *Configuration) checkAndLoadHostKeys(configDir string, serverConfig *ssh.ServerConfig) error { //nolint:gocyclo if err := c.checkHostKeyAutoGeneration(configDir); err != nil { return err }