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

Route priorities: document minimum priority value #4374

Merged
merged 2 commits into from Jan 16, 2019

Conversation

tw-360vier
Copy link
Contributor

What does this PR do?

document minimum priority value

Motivation

I had the case that i needed a rule to be matched after all other rules and it was not until i started reading the source code (https://github.com/containous/traefik/blob/master/server/router/rules.go#L20) that i realized a value of zero will not place the route to the end of the list.
It would have saved me some time, had the documentation already contained this line.

More

  • Added/updated tests
  • Added/updated documentation

Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@jbdoumenjou jbdoumenjou left a comment

Choose a reason for hiding this comment

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

LGTM

tw-360vier and others added 2 commits January 16, 2019 15:40
I had the case that i needed a rule to be matched after all other rules and it was not until i started reading the source code (https://github.com/containous/traefik/blob/master/server/router/rules.go#L20) that i realized a value of zero will not place the route to the end of the list.
It would have saved me some time, had the documentation already contained this line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants