Skip to content

Commit

Permalink
Update pkg/cluster/internal/providers/podman/provider.go
Browse files Browse the repository at this point in the history
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
  • Loading branch information
kebe7jun and aojea authored Nov 7, 2024
1 parent dbf2bd3 commit e1c4738
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/cluster/internal/providers/podman/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ func (p *provider) DeleteNodes(n []nodes.Node) error {
return deleteVolumes(nodeVolumes)
}

// getHostIPOrDefault defaults HostIP to localhost if is not set
// xref: https://github.com/kubernetes-sigs/kind/issues/3777
func getHostIPOrDefault(hostIP string) string {
if hostIP == "" {
return "127.0.0.1"
Expand Down

0 comments on commit e1c4738

Please sign in to comment.