Migrate RuntimeClass support to the generated typed client

This commit is contained in:
Tim Allclair
2019-01-23 14:26:02 -08:00
parent c21f60f862
commit aab3523e0e
10 changed files with 86 additions and 114 deletions

View File

@@ -61,8 +61,8 @@ func TestCreatePodSandbox(t *testing.T) {
func TestCreatePodSandbox_RuntimeClass(t *testing.T) {
defer utilfeaturetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.RuntimeClass, true)()
rcm := runtimeclass.NewManager(rctest.NewPopulatedDynamicClient())
defer rctest.StartManagerSync(t, rcm)()
rcm := runtimeclass.NewManager(rctest.NewPopulatedClient())
defer rctest.StartManagerSync(rcm)()
fakeRuntime, _, m, err := createTestRuntimeManager()
require.NoError(t, err)