Fix some typos

Signed-off-by: Pan Yibo <mstmdev@gmail.com>
This commit is contained in:
mstmdev
2023-05-10 02:45:57 +08:00
parent 43bbffba37
commit cdaa4025e9
16 changed files with 20 additions and 20 deletions

View File

@@ -31,13 +31,13 @@ import (
// Domain implements the functions the generic NRI interface needs to
// deal with pods and containers from a particular containerd namespace.
type Domain interface {
// GetName() returns the containerd namespace for this domain.
// GetName returns the containerd namespace for this domain.
GetName() string
// ListPodSandboxes list all pods in this namespace.
// ListPodSandboxes lists all pods in this namespace.
ListPodSandboxes() []PodSandbox
// ListContainer list all containers in this namespace.
// ListContainers lists all containers in this namespace.
ListContainers() []Container
// GetPodSandbox returns the pod for the given ID.

View File

@@ -80,7 +80,7 @@ type API interface {
// NotifyContainerExit handles the exit event of a container.
NotifyContainerExit(context.Context, PodSandbox, Container)
// StopContainer relays container removal events to NRI.
// RemoveContainer relays container removal events to NRI.
RemoveContainer(context.Context, PodSandbox, Container) error
}