1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-06 01:41:00 +00:00

Adding changes from code review

This commit is contained in:
Michael Bolot
2024-08-05 12:34:59 -05:00
parent 8ce0b83be7
commit dfae21cb39
3 changed files with 60 additions and 228 deletions

View File

@@ -225,8 +225,6 @@ func listGVKModels(models proto.Models, groups *metav1.APIGroupList, crdCache wa
}
if version.Schema != nil {
gvkToCRD[gvk] = version.Schema.OpenAPIV3Schema
} else {
gvkToCRD[gvk] = nil
}
}
}