Skip to content

Commit

Permalink
Merge pull request #3759 from BenTheElder/ip6-space
Browse files Browse the repository at this point in the history
fix missing space in ip6tables error matching
  • Loading branch information
k8s-ci-robot authored Oct 15, 2024
2 parents 57da3f7 + ef0b4d0 commit c04cb6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/internal/providers/docker/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func isIPv6UnavailableError(err error) bool {
// TODO: this is fragile, and only necessary due to docker enabling ipv6 by default
// even on hosts that lack ip6tables setup.
// Preferably users would either have ip6tables setup properly or else disable ipv6 in docker
const dockerIPV6TablesError = "Error response from daemon: Failed to Setup IP tables: Unable to enable NAT rule: (iptables failed: ip6tables"
const dockerIPV6TablesError = "Error response from daemon: Failed to Setup IP tables: Unable to enable NAT rule: (iptables failed: ip6tables"
return strings.HasPrefix(errorMessage, dockerIPV6DisabledError) || strings.HasPrefix(errorMessage, dockerIPV6TablesError)
}

Expand Down

0 comments on commit c04cb6d

Please sign in to comment.