mirror of
https://github.com/foomo/posh-providers.git
synced 2025-10-16 12:35:41 +00:00
fix(k3d-io/k3d): lint issue
This commit is contained in:
parent
58fc810945
commit
276765750e
@ -56,7 +56,7 @@ func RegistryChecker(inst *K3d) check.Checker {
|
||||
|
||||
for _, registry := range registries {
|
||||
if registry.Name == fmt.Sprintf("k3d-%s", inst.cfg.Registry.Name) {
|
||||
ips, err := net.LookupIP(fmt.Sprintf(registry.Name))
|
||||
ips, err := net.LookupIP(registry.Name)
|
||||
if err != nil {
|
||||
return check.NewFailureInfo(title, fmt.Sprintf("Failed to lookup registry IP (%s)", err.Error()))
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user