-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
alerting v2beta1 tunes #5200
alerting v2beta1 tunes #5200
Conversation
RulesStats RulesStats `json:"rulesStats,omitempty" description:"statistics of rules in one RuleGroup"` | ||
} | ||
|
||
type RulesStats struct { |
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.
can be changed to
type RulesStats struct {
Inactive int `json:"inactive" description:"count of rules in the inactive state"`
Pending int `json:"pending" description:"count of rules in the pending state"`
Firing int `json:"firing" description:"count of rules in the firing state"`
Disabled int `json:"disabled" description:"count of disabled rules"`
}
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.
These are adj, not nouns.
So we shouldn't add s
to them
Signed-off-by: junot <junotxiang@kubesphere.io>
/lgtm |
LGTM label has been added. Git tree hash: 7fe492f5bd99ed55d45a4ce54c26f0bf9d74d60b
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: benjaminhuo, junotx 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 |
Signed-off-by: junot <junotxiang@kubesphere.io> Signed-off-by: junot <junotxiang@kubesphere.io>
Signed-off-by: junot <junotxiang@kubesphere.io> Signed-off-by: junot <junotxiang@kubesphere.io>
What type of PR is this?
/kind feature
What this PR does / why we need it:
It is a supplement for #5115:
Which issue(s) this PR fixes:
Fixes #
Special notes for reviewers:
Does this PR introduced a user-facing change?
Additional documentation, usage docs, etc.: