Update dependencies
- Update Kubernetes packages to v1.24 - Update go-yaml to v3.0.0 (fix CVE-2022-28948) - Update fluxcd/pkg/runtime to v0.15.1 Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
@@ -177,7 +177,7 @@ func scanHostKey(host string) ([]byte, error) {
|
||||
// host key scanning to work.
|
||||
host = fmt.Sprintf("%s:%d", host, defaultSSHPort)
|
||||
}
|
||||
hostKey, err := ssh.ScanHostKey(host, 30*time.Second)
|
||||
hostKey, err := ssh.ScanHostKey(host, 30*time.Second, []string{}, false)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("SSH key scan for host %s failed, error: %w", host, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user