Skip to content

Commit

Permalink
fix ipv6 log error to consider both providers
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Ojea committed Dec 2, 2020
1 parent 4b5c31b commit 8ef3fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/internal/create/actions/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func getKubeadmConfig(cfg *config.Cluster, data kubeadm.ConfigData, node nodes.N
// configure the right protocol addresses
if cfg.Networking.IPFamily == "ipv6" {
if nodeAddressIPv6 == "" {
return "", errors.Errorf("failed to get IPV6 address; is the docker daemon configured to use IPV6 correctly?")
return "", errors.Errorf("failed to get IPV6 address; is the container provider (docker,podman) configured to use IPV6 correctly?")
}
data.NodeAddress = nodeAddressIPv6
}
Expand Down

0 comments on commit 8ef3fec

Please sign in to comment.