From c0a3e9ad130c77919076530de18f94e31e1c1836 Mon Sep 17 00:00:00 2001 From: Dmitry Shulyak Date: Mon, 8 May 2017 14:57:58 +0300 Subject: [PATCH] Fix golint and godeps verification --- hack/.linted_packages | 1 + pkg/util/term/resizeevents_windows.go | 2 +- pkg/util/term/setsize_unsupported.go | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hack/.linted_packages b/hack/.linted_packages index fc3af381af9..d84e44abeb0 100644 --- a/hack/.linted_packages +++ b/hack/.linted_packages @@ -385,6 +385,7 @@ staging/src/k8s.io/client-go/plugin/pkg/client/auth/gcp staging/src/k8s.io/client-go/rest/watch staging/src/k8s.io/client-go/tools/auth staging/src/k8s.io/client-go/tools/metrics +staging/src/k8s.io/client-go/tools/remotecommand staging/src/k8s.io/client-go/util/cert staging/src/k8s.io/client-go/util/homedir staging/src/k8s.io/client-go/util/workqueue diff --git a/pkg/util/term/resizeevents_windows.go b/pkg/util/term/resizeevents_windows.go index e38e0e0caf8..adccf873466 100644 --- a/pkg/util/term/resizeevents_windows.go +++ b/pkg/util/term/resizeevents_windows.go @@ -20,7 +20,7 @@ import ( "time" "k8s.io/apimachinery/pkg/util/runtime" - "k8s.io/kubernetes/pkg/client/unversioned/remotecommand" + "k8s.io/client-go/tools/remotecommand" ) // monitorResizeEvents spawns a goroutine that periodically gets the terminal size and tries to send diff --git a/pkg/util/term/setsize_unsupported.go b/pkg/util/term/setsize_unsupported.go index 6d6390d5680..82220217a67 100644 --- a/pkg/util/term/setsize_unsupported.go +++ b/pkg/util/term/setsize_unsupported.go @@ -19,7 +19,7 @@ limitations under the License. package term import ( - "k8s.io/kubernetes/pkg/client/unversioned/remotecommand" + "k8s.io/client-go/tools/remotecommand" ) func SetSize(fd uintptr, size remotecommand.TerminalSize) error {