fix typo in dns.go

This commit is contained in:
Ruofeng Lei 2020-12-15 16:36:07 +08:00 committed by GitHub
parent 2b23e71f6c
commit 161a801f71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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