Merge pull request #320 from Jabbo16/patch-1

Fix small typo resource mapper
mine
Fernand Galiana 2019-10-01 07:00:28 -06:00 committed by GitHub
commit ed4150d849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ var kindToMapper = map[string]*meta.RESTMapping{
GroupVersionKind: schema.GroupVersionKind{Group: "", Version: "v1", Kind: "Secret"},
Scope: RestMapping,
},
"StorageClasse": {
"StorageClass": {
Resource: schema.GroupVersionResource{Group: "storage.k8s.io", Version: "v1", Resource: "storageclass"},
GroupVersionKind: schema.GroupVersionKind{Group: "storage.k8s.io", Version: "v1", Kind: "StorageClass"},
Scope: RestMapping,