Skip to content

Commit

Permalink
suppress lint warning
Browse files Browse the repository at this point in the history
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
  • Loading branch information
drakkan committed Oct 10, 2023
1 parent 904ad2f commit 1c579d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/sftpd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 1c579d7

Please sign in to comment.