Revert "kubelet/network: report but tolerate errors returned from GetNetNS()"

This commit is contained in:
Dawn Chen
2017-05-31 17:16:32 -07:00
committed by GitHub
parent 7043372d05
commit 78c1649f5b
8 changed files with 28 additions and 127 deletions

View File

@@ -144,8 +144,6 @@ type Host interface {
// CNI plugin wrappers like kubenet.
type NamespaceGetter interface {
// GetNetNS returns network namespace information for the given containerID.
// Runtimes should *never* return an empty namespace and nil error for
// a container; if error is nil then the namespace string must be valid.
GetNetNS(containerID string) (string, error)
}