Skip to content

Commit

Permalink
kubelet: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
yujuhong committed Apr 10, 2018
1 parent c7349d8 commit cd3f742
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 100 deletions.
44 changes: 2 additions & 42 deletions pkg/kubelet/container/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,42 +14,7 @@ go_library(
"runtime_cache.go",
"runtime_cache_fake.go",
"sync_result.go",
] + select({
"@io_bazel_rules_go//go/platform:android": [
"pty_unsupported.go",
],
"@io_bazel_rules_go//go/platform:darwin": [
"pty_unsupported.go",
],
"@io_bazel_rules_go//go/platform:dragonfly": [
"pty_unsupported.go",
],
"@io_bazel_rules_go//go/platform:freebsd": [
"pty_unsupported.go",
],
"@io_bazel_rules_go//go/platform:linux": [
"pty_linux.go",
],
"@io_bazel_rules_go//go/platform:nacl": [
"pty_unsupported.go",
],
"@io_bazel_rules_go//go/platform:netbsd": [
"pty_unsupported.go",
],
"@io_bazel_rules_go//go/platform:openbsd": [
"pty_unsupported.go",
],
"@io_bazel_rules_go//go/platform:plan9": [
"pty_unsupported.go",
],
"@io_bazel_rules_go//go/platform:solaris": [
"pty_unsupported.go",
],
"@io_bazel_rules_go//go/platform:windows": [
"pty_unsupported.go",
],
"//conditions:default": [],
}),
],
importpath = "k8s.io/kubernetes/pkg/kubelet/container",
visibility = ["//visibility:public"],
deps = [
Expand All @@ -71,12 +36,7 @@ go_library(
"//vendor/k8s.io/client-go/tools/reference:go_default_library",
"//vendor/k8s.io/client-go/tools/remotecommand:go_default_library",
"//vendor/k8s.io/client-go/util/flowcontrol:go_default_library",
] + select({
"@io_bazel_rules_go//go/platform:linux": [
"//vendor/github.com/kr/pty:go_default_library",
],
"//conditions:default": [],
}),
],
)

go_test(
Expand Down
30 changes: 0 additions & 30 deletions pkg/kubelet/container/pty_linux.go

This file was deleted.

28 changes: 0 additions & 28 deletions pkg/kubelet/container/pty_unsupported.go

This file was deleted.

0 comments on commit cd3f742

Please sign in to comment.