update factory interface to overlap with lower RESTClientGetter

This commit is contained in:
David Eads
2018-05-16 10:54:42 -04:00
parent a481f4bbe8
commit 0db40da909
27 changed files with 50 additions and 52 deletions

View File

@@ -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)
}