Thanks to visit codestin.com
Credit goes to github.com

Skip to content

More fix to custom plugin monitor condition change#228

Merged
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
wangzhen127:custom-plugin-fix
Nov 27, 2018
Merged

More fix to custom plugin monitor condition change#228
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
wangzhen127:custom-plugin-fix

Conversation

@wangzhen127
Copy link
Member

When condition.Status does not change, we should check condition.Reason instead of condition.Message because Message could be spammy and change a lot.

This is part of #202.

@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 27, 2018
@wangzhen127
Copy link
Member Author

/cc @andyxning
/assign @Random-Liu

@Random-Liu
Copy link
Member

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 27, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Random-Liu, wangzhen127

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

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 27, 2018
@wangzhen127
Copy link
Member Author

/retest

@k8s-ci-robot k8s-ci-robot merged commit fb81368 into kubernetes:master Nov 27, 2018
@wangzhen127 wangzhen127 deleted the custom-plugin-fix branch November 27, 2018 19:35
@andyxning
Copy link
Member

@wangzhen127 @Random-Liu Please see #200, end users may need a switch to enable condition change when the need to bring some info through message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants