summaryrefslogtreecommitdiff
path: root/libpod/runtime.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/runtime.go')
-rw-r--r--libpod/runtime.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/libpod/runtime.go b/libpod/runtime.go
index cb1e8f531..2a659a1e3 100644
--- a/libpod/runtime.go
+++ b/libpod/runtime.go
@@ -12,7 +12,6 @@ import (
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/ulule/deepcopier"
- "k8s.io/kubernetes/pkg/kubelet/network/hostport"
)
// A RuntimeOption is a functional option which alters the Runtime created by
@@ -29,7 +28,6 @@ type Runtime struct {
ociRuntime *OCIRuntime
lockDir string
netPlugin ocicni.CNIPlugin
- hostportManager hostport.HostPortManager
valid bool
lock sync.RWMutex
}
@@ -181,9 +179,6 @@ func NewRuntime(options ...RuntimeOption) (runtime *Runtime, err error) {
}
runtime.netPlugin = netPlugin
- // Set up the hostport manager
- runtime.hostportManager = hostport.NewHostportManager()
-
// Set up the state
if runtime.config.InMemoryState {
state, err := NewInMemoryState()