mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
refactor testapi and test scripts to prepare for multiple API groups.
This commit is contained in:
@@ -39,7 +39,7 @@ func (f *fakePortForwarder) ForwardPorts(req *client.Request, config *client.Con
|
||||
}
|
||||
|
||||
func TestPortForward(t *testing.T) {
|
||||
version := testapi.Version()
|
||||
version := testapi.Default.Version()
|
||||
|
||||
tests := []struct {
|
||||
name, version, podPath, pfPath, container string
|
||||
@@ -101,7 +101,7 @@ func TestPortForward(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestPortForwardWithPFlag(t *testing.T) {
|
||||
version := testapi.Version()
|
||||
version := testapi.Default.Version()
|
||||
|
||||
tests := []struct {
|
||||
name, version, podPath, pfPath, container string
|
||||
|
||||
Reference in New Issue
Block a user