Closed dims closed 3 weeks ago
/assign @tengqm
@dims I was thinking when and how I can resolve this defect. Thank you so much. /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: dims, tengqm
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/lgtm
Running
make api
ends up with the following error:If you look at the definition: https://github.com/kubernetes/kubernetes/blob/8db6fc7e3fabc00f12be17d5a1623cba278d4b6b/api/openapi-spec/v3/apis__resource.k8s.io__v1alpha3_openapi.json#L115-L140
The
resource.v1alpha3.DeviceAttribute
is actually referenced byresource.v1alpha3.BasicDevice
, so we need to traverse theadditionalProperties
array and ensure that we mark the g/v/k as being used.