fix comment error for network plugin

This commit is contained in:
supereagle 2017-04-19 07:10:41 +08:00
parent b22a298009
commit 343f4baa5a

View File

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