Fix linting issue

Signed-off-by: eschcam <cameron.scholes@est.tech>
pull/11610/head
eschcam 3 years ago
parent c5c52810c8
commit 0006b7c5c7

@ -221,11 +221,11 @@ func checkHostExists(host string) (bool, error) {
if err != nil && strings.HasSuffix(err.Error(), "server gave HTTP response to HTTPS client") {
log.Printf("Warning: %v", err.Error())
return true, nil
} else {
}
log.Printf("Failed to get response from host. Error: %v", err.Error())
return false, err
}
}
return true, nil
}

Loading…
Cancel
Save