mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
update factory interface to overlap with lower RESTClientGetter
This commit is contained in:
@@ -438,7 +438,7 @@ func TestClusterRoleValidate(t *testing.T) {
|
||||
for name, test := range tests {
|
||||
t.Run(name, func(t *testing.T) {
|
||||
var err error
|
||||
test.clusterRoleOptions.Mapper, err = tf.RESTMapper()
|
||||
test.clusterRoleOptions.Mapper, err = tf.ToRESTMapper()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user