fix(k3d-io/k3d): lint issue

This commit is contained in:
Kevin Franklin Kim 2024-08-18 12:01:44 +02:00
parent 58fc810945
commit 276765750e
No known key found for this signature in database

View File

@ -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()))
}