-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Missing Backend key in configuration when application has no tasks #2333
Conversation
Refs #1689. |
@dtomcej you probably want to have a look at this too. |
This directly addresses the cause of the issue. I am totally on board with this. 👍 This is not a band-aid approach :D |
2806532
to
b8daf41
Compare
@aantono Could you change the base branch to 1.4 and rebase? Thanks. |
b8daf41
to
277e14a
Compare
277e14a
to
5033b63
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'll give this one a quick whirl just to be sure some time tonight. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @aantono! 👏
Should I rebase against |
…are available for an application
5033b63
to
5cf6ca5
Compare
@aantono shouldn't be necessary: Traefiker (our bot) can handle this by now. If not, it'll complain. :) |
Fixed an issue of missing Backend key in configuration when no tasks are available for an application
If Marathon application has no valid tasks in existence (either because the tasks are in bad state or they are in the process of being started or shut down), the generated configuration is completely missing the Backend key entry for the bound Frontend, resulting in a 404 response from Traefik instead of the expected 503.