mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Merge pull request #65132 from stewart-yu/stewart-removeunusedtodo
remove unuse todo
This commit is contained in:
commit
ea6acb34d1
@ -384,7 +384,6 @@ func truncatePodHostnameIfNeeded(podName, hostname string) (string, error) {
|
|||||||
// GeneratePodHostNameAndDomain creates a hostname and domain name for a pod,
|
// GeneratePodHostNameAndDomain creates a hostname and domain name for a pod,
|
||||||
// given that pod's spec and annotations or returns an error.
|
// given that pod's spec and annotations or returns an error.
|
||||||
func (kl *Kubelet) GeneratePodHostNameAndDomain(pod *v1.Pod) (string, string, error) {
|
func (kl *Kubelet) GeneratePodHostNameAndDomain(pod *v1.Pod) (string, string, error) {
|
||||||
// TODO(vmarmol): Handle better.
|
|
||||||
clusterDomain := kl.dnsConfigurer.ClusterDomain
|
clusterDomain := kl.dnsConfigurer.ClusterDomain
|
||||||
|
|
||||||
hostname := pod.Name
|
hostname := pod.Name
|
||||||
|
Loading…
Reference in New Issue
Block a user