mirror of
				https://bitbucket.org/s_l_teichmann/mtsatellite
				synced 2025-11-04 09:55:34 +01:00 
			
		
		
		
	Little golint nit.
This commit is contained in:
		@@ -18,11 +18,11 @@ func ipsFromHosts(hosts string) ([]net.IP, error) {
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	for _, host := range strings.Split(hosts, ";") {
 | 
			
		||||
		if hips, err := net.LookupIP(host); err != nil {
 | 
			
		||||
		hips, err := net.LookupIP(host)
 | 
			
		||||
		if err != nil {
 | 
			
		||||
			return nil, err
 | 
			
		||||
		} else {
 | 
			
		||||
			ips = append(ips, hips...)
 | 
			
		||||
		}
 | 
			
		||||
		ips = append(ips, hips...)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return ips, nil
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user