-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: refactor custom plugin monitor method #999
chore: refactor custom plugin monitor method #999
Conversation
googs1025
commented
Dec 26, 2024
- refactor custom plugin monitor method
@@ -296,18 +296,22 @@ func toConditionStatus(s cpmtypes.Status) types.ConditionStatus { | |||
} | |||
} | |||
|
|||
// initializeStatus initializes the internal condition and also reports it to the node problem detector. | |||
func (c *customPluginMonitor) initializeStatus() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
initializeStatus
naming seems confusing, and the initialConditions
does not need to be repeated
74dbcfe
to
32f8a10
Compare
32f8a10
to
cf0870f
Compare
friendly ping @andyxning |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyxning, googs1025 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:
Approvers can indicate their approval by writing |