solve small linter nitpicks

This commit is contained in:
nils 2024-08-07 22:56:19 +02:00
parent e4d0d9bf61
commit 7b47ca1c58
Signed by: byreqz
GPG Key ID: 49F924B3CEE307B2

View File

@ -84,7 +84,7 @@ func runner(remoteip string, command string, args ...string) string {
return string(cmd) return string(cmd)
} }
// validatehosts checks the given host+port combinations for validity and returns valid hosts + valid ports seperately. // validatehosts checks the given host+port combinations for validity and returns valid hosts + valid ports separately.
func validatehosts(hosts []string) ([]string, []string) { func validatehosts(hosts []string) ([]string, []string) {
var validHosts []string var validHosts []string
var validPorts []string var validPorts []string