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

Marathon that starts with a space causes parsing errors. #459

Closed
sybrandy opened this issue Jun 15, 2016 · 1 comment
Closed

Marathon that starts with a space causes parsing errors. #459

sybrandy opened this issue Jun 15, 2016 · 1 comment
Labels

Comments

@sybrandy
Copy link

Hello,

Unfortunately, I don't have the exact error message any more, but if you prefix a marathon label name with a space, a parsing error occurs. This caused the Marathon provider to not load the configuration and prevented all of our services that exist in Marathon from being accessible via Traefik.

I see this being handled in two ways:

  1. If a parsing error does occur, perhaps only prevent the service that has the incorrectly formatted label name from being exposed vs. not exposing all of the services.
  2. Fix the parsing error by trimming whitespace from the names.

The former probably should be done regardless of the latter.

Thanks.

@sybrandy
Copy link
Author

Thanks.

@ldez ldez added the kind/bug/confirmed a confirmed bug (reproducible). label Apr 29, 2017
@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants