Skip to content
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

Group checkers by category #2080

Closed
wants to merge 2 commits into from
Closed

Conversation

siggy
Copy link
Member

@siggy siggy commented Jan 14, 2019

The linkerd check command organized the various checks via loosely
coupled category IDs, category names, and checkers themselves, all with
ordering defined by consumers of this code.

This change removes category IDs in favor of category names, groups all
checkers by category, and enforces ordering at the HealthChecker
level.

Part of #1471, depends on #2078.

Signed-off-by: Andrew Seigner [email protected]

The `linkerd check` command organized the various checks via loosely
coupled category IDs, category names, and checkers themselves, all with
ordering defined by consumers of this code.

This change removes category IDs in favor of category names, groups all
checkers by category, and enforces ordering at the `HealthChecker`
level.

Part of #1471, depends on #2078.

Signed-off-by: Andrew Seigner <[email protected]>
@siggy siggy added the area/cli label Jan 14, 2019
@siggy siggy self-assigned this Jan 14, 2019
@grampelberg
Copy link
Contributor

This looks great to me. My only commentary would be around format, but I assume that'll happen in another PR =)

Signed-off-by: Andrew Seigner <[email protected]>
@siggy siggy changed the base branch from siggy/check-enums to master January 15, 2019 01:16
@siggy siggy changed the base branch from master to siggy/check-enums January 15, 2019 01:22
@siggy
Copy link
Member Author

siggy commented Jan 15, 2019

Closing in favor of #2083.

@siggy siggy closed this Jan 15, 2019
@siggy siggy deleted the siggy/group-checkers branch January 15, 2019 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants