Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit 5d5414a

Browse files
authored
add non-extension-having resource to schema (#102)
1 parent 1ed001f commit 5d5414a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

listener/apischema/scope_resolver.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ func addScopeInfo(schemas map[string]*spec.Schema, rm meta.RESTMapper) (map[stri
2727
//skip resources that do not have the GVK extension:
2828
//assumption: sub-resources do not have GVKs
2929
if schema.VendorExtensible.Extensions == nil {
30+
scopedSchemas[name] = schema
3031
continue
3132
}
3233
var gvksVal any

0 commit comments

Comments
 (0)