Skip to content

Commit f7d0c0b

Browse files
committed
minor fix
1 parent e49f1e1 commit f7d0c0b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

internal/provider/hypervisor/libvirt.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ func buildDialers(log *zap.Logger, config *config.Config) []*ZonedDialer {
8686
dialers[idx] = buildDialer(zone.LibvirtEndpoint)
8787
dialers[idx].Zone = zone.Name
8888
}
89-
if len(config.LibvirtEndpoint) > 0 {
90-
dialers = append(dialers, buildDialer(config.LibvirtEndpoint))
91-
}
9289
return dialers
9390
}
9491
return []*ZonedDialer{{Dialer: buildDialer(config.LibvirtEndpoint)}}

0 commit comments

Comments
 (0)