Skip to content

Generate incorrect type when crd referenced corev1.ResourceQuotaStatus when using Applyconfiguration cmd #183

Open
@Monokaix

Description

@Monokaix
  1. I have a CRD definition https://github.com/karmada-io/api/blob/909667dcc910097476e131616185beff3c460bc3/policy/v1alpha1/federatedresourcequota_types.go#L114, which imported corev1.ResourceQuotaStatus
  2. Applyconfiguration cmd generated an incorrect type, the input value v1.ResourceList is a value type but it assigned to ResourceQuotaStatus.Used with a pointer value.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions