From 343f4baa5a4292d34360c8b3639d45bbf1bfc8d8 Mon Sep 17 00:00:00 2001 From: supereagle Date: Wed, 19 Apr 2017 07:10:41 +0800 Subject: [PATCH] fix comment error for network plugin --- pkg/kubelet/network/plugins.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kubelet/network/plugins.go b/pkg/kubelet/network/plugins.go index 8d8845e30a7..859ff46e567 100644 --- a/pkg/kubelet/network/plugins.go +++ b/pkg/kubelet/network/plugins.go @@ -76,11 +76,11 @@ type NetworkPlugin interface { // TODO: rename podInfraContainerID to sandboxID TearDownPod(namespace string, name string, podInfraContainerID kubecontainer.ContainerID) error - // Status is the method called to obtain the ipv4 or ipv6 addresses of the container + // GetPodNetworkStatus is the method called to obtain the ipv4 or ipv6 addresses of the container // TODO: rename podInfraContainerID to sandboxID GetPodNetworkStatus(namespace string, name string, podInfraContainerID kubecontainer.ContainerID) (*PodNetworkStatus, error) - // NetworkStatus returns error if the network plugin is in error state + // Status returns error if the network plugin is in error state Status() error }