Remove unused code in UT files in pkg/

This commit is contained in:
linweibin
2018-01-15 16:02:35 +08:00
parent 5911f87dad
commit fa8afc1d39
41 changed files with 18 additions and 325 deletions

View File

@@ -286,9 +286,9 @@ func TestAttach(t *testing.T) {
func TestAttachWarnings(t *testing.T) {
version := legacyscheme.Registry.GroupOrDie(api.GroupName).GroupVersion.Version
tests := []struct {
name, container, version, podPath, fetchPodPath, expectedErr, expectedOut string
pod *api.Pod
stdin, tty bool
name, container, version, podPath, fetchPodPath, expectedErr string
pod *api.Pod
stdin, tty bool
}{
{
name: "fallback tty if not supported",