Update code to make it build

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2017-08-21 22:29:36 +00:00
parent 39f4ca648b
commit d41c23e31d
2 changed files with 31 additions and 2 deletions

View File

@@ -28,8 +28,7 @@ import (
"k8s.io/apimachinery/pkg/util/runtime"
"k8s.io/client-go/tools/remotecommand"
"k8s.io/kubernetes/pkg/kubelet/server/streaming"
// TODO(random-liu): k8s.io/utils/exec after bump up kubernetes version.
"k8s.io/kubernetes/pkg/util/exec"
"k8s.io/utils/exec"
)
func newStreamServer(c *criContainerdService, addr, port string) (streaming.Server, error) {