update factory interface to overlap with lower RESTClientGetter
This commit is contained in:
@@ -174,7 +174,7 @@ func TestServerSidePrint(t *testing.T) {
|
||||
configFlags.WithDiscoveryClient(cachedClient)
|
||||
|
||||
factory := util.NewFactory(configFlags)
|
||||
mapper, err := factory.RESTMapper()
|
||||
mapper, err := factory.ToRESTMapper()
|
||||
if err != nil {
|
||||
t.Errorf("unexpected error getting mapper: %v", err)
|
||||
return
|
||||
|
Reference in New Issue
Block a user