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

Small code enhancements on providers #3707

Merged

Conversation

vdemeester
Copy link
Contributor

What does this PR do?

  • Remove some unused const/var/func/…
  • Simplify some code
  • Check some errors
  • Use named field for struct def.

Motivation

Clean, readable code.

More

  • Added/updated tests
  • Added/updated documentation

Additional Notes

Signed-off-by: Vincent Demeester vincent@sbr.pm

- Remove some unused const/var/func/…
- Simplify some code
- Check some errors
- Use named field for struct def.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Copy link
Contributor

@dtomcej dtomcej left a comment

Choose a reason for hiding this comment

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

LGTM
:shipit:

@ldez ldez removed request for a team August 1, 2018 14:31
@mmatur mmatur added this to the next milestone Aug 1, 2018
@traefiker traefiker merged commit 43d22d7 into traefik:master Aug 1, 2018
@vdemeester vdemeester deleted the some-small-provider-linting-up branch August 1, 2018 15:01
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.

5 participants