Skip to content

Commit

Permalink
correct error message
Browse files Browse the repository at this point in the history
  • Loading branch information
TiberiuGC authored Jan 29, 2025
1 parent 83fe913 commit 35a3538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/nodebootstrap/userdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func GetClusterDNS(clusterConfig *api.ClusterConfig) (string, error) {

parsedIP, _, err := net.ParseCIDR(serviceCIDR)
if err != nil {
return "", errors.Wrapf(err, "unexpected error parsing KubernetesNetworkConfig service CIDR: %q", networkConfig.ServiceIPv4CIDR)
return "", errors.Wrapf(err, "unexpected error parsing KubernetesNetworkConfig service CIDR: %q", serviceCIDR)
}
return toClusterDNS(parsedIP), nil
}
Expand Down

0 comments on commit 35a3538

Please sign in to comment.