mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
fix typo in dns.go
This commit is contained in:
parent
2b23e71f6c
commit
161a801f71
@ -278,7 +278,7 @@ func getPodDNSType(pod *v1.Pod) (podDNSType, error) {
|
||||
if !kubecontainer.IsHostNetworkPod(pod) {
|
||||
return podDNSCluster, nil
|
||||
}
|
||||
// Fallback to DNSDefault for pod on hostnetowrk.
|
||||
// Fallback to DNSDefault for pod on hostnetwork.
|
||||
fallthrough
|
||||
case v1.DNSDefault:
|
||||
return podDNSHost, nil
|
||||
|
Loading…
Reference in New Issue
Block a user