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

@@ -47,10 +47,10 @@ func testPortForward(t *testing.T, flags map[string]string, args []string) {
version := "v1"
tests := []struct {
name string
podPath, pfPath, container string
pod *api.Pod
pfErr bool
name string
podPath, pfPath string
pod *api.Pod
pfErr bool
}{
{
name: "pod portforward",