diff --git a/internal/sftpd/server.go b/internal/sftpd/server.go index 3a723b5c9..dc387b0ca 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 }