suppress lint warning
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
904ad2f691
commit
1c579d73f8
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
// 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 {
|
if err := c.checkHostKeyAutoGeneration(configDir); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue