Kubelet: rename CreatePodSandbox to RunPodSandbox in CRI

This commit is contained in:
Pengfei Ni
2016-09-07 21:38:56 +08:00
parent dc529a03b1
commit 58a9da3310
8 changed files with 231 additions and 230 deletions

View File

@@ -33,8 +33,8 @@ func NewPodSandboxManager(PodSandboxManagerConfig) (kubeletApi.PodSandboxManager
return &PodSandboxManager{}, nil
}
// CreatePodSandbox creates a pod sandbox given a pod sandbox configuration.
func (*PodSandboxManager) CreatePodSandbox(*runtimeApi.PodSandboxConfig) (string, error) {
// RunPodSandbox creates and starts a pod sandbox given a pod sandbox configuration.
func (*PodSandboxManager) RunPodSandbox(*runtimeApi.PodSandboxConfig) (string, error) {
panic("not implemented")
}