mirror of
https://github.com/mudler/luet.git
synced 2025-09-22 19:48:27 +00:00
This reverts commit db8e3da01f
.
This commit is contained in:
committed by
GitHub
parent
db8e3da01f
commit
f8350a2f07
2
vendor/github.com/Masterminds/sprig/v3/network.go
generated
vendored
2
vendor/github.com/Masterminds/sprig/v3/network.go
generated
vendored
@@ -7,6 +7,6 @@ import (
|
||||
|
||||
func getHostByName(name string) string {
|
||||
addrs, _ := net.LookupHost(name)
|
||||
//TODO: add error handing when release v3 comes out
|
||||
//TODO: add error handing when release v3 cames out
|
||||
return addrs[rand.Intn(len(addrs))]
|
||||
}
|
||||
|
Reference in New Issue
Block a user