open-cluster-management-io / addon-framework

addon apis
Apache License 2.0
23 stars 40 forks source link

print warning message when mca's ownerref is not set #219

Closed haoqing0110 closed 11 months ago

haoqing0110 commented 11 months ago

When cma is not created, mca's ownerref will be empty and return nil without any log, add a warning log for easy debugging.

qiujian16 commented 11 months ago

/approve /lgtm

openshift-ci[bot] commented 11 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: haoqing0110, qiujian16

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/open-cluster-management-io/addon-framework/blob/main/OWNERS)~~ [qiujian16] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment