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

monitor: Move PolicyMatchType into pkg/monitor/api #10893

Merged
merged 1 commit into from
Apr 8, 2020

Conversation

tgraf
Copy link
Member

@tgraf tgraf commented Apr 8, 2020

This type is used by external components. Move it into pkg/monitor/api
to reduce additional dependencies being pulled in.

This type is used by external components. Move it into pkg/monitor/api
to reduce additional dependencies being pulled in.

Signed-off-by: Thomas Graf <[email protected]>
@tgraf tgraf added the release-note/misc This PR makes changes that have no direct user impact. label Apr 8, 2020
@tgraf tgraf requested a review from a team as a code owner April 8, 2020 13:04
@tgraf tgraf requested a review from a team April 8, 2020 13:04
@tgraf tgraf requested a review from a team as a code owner April 8, 2020 13:04
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 46.96% when pulling db46769 on pr/tgraf/move-policy-match-type into 418500b on master.

@tgraf
Copy link
Member Author

tgraf commented Apr 8, 2020

test-me-please

PolicyEgress = 2

// PolicyMatchNone is the value of MatchType indicatating no policy match
PolicyMatchNone = 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this meant to be of type PolicyMatchType and have iota?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our policy is not to fix code while moving it to assist in reviews.

@tgraf tgraf merged commit 450c79c into master Apr 8, 2020
@tgraf tgraf deleted the pr/tgraf/move-policy-match-type branch April 8, 2020 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants