-
Notifications
You must be signed in to change notification settings - Fork 115
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
[PULP-205] Allow multiple bind addresses on entrypoints #6063
Conversation
Both content and api worker allow to specify --bind multiple times now. fixes pulp#6053
c235987
to
cd59f58
Compare
@@ -136,5 +136,6 @@ def load(self): | |||
@click.option("--user", "-u") | |||
@click.option("--group", "-g") | |||
@click.command() | |||
def main(**options): | |||
def main(bind, **options): | |||
options["bind"] = list(bind) |
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.
Is bind not automatically turned into a list with multiple=True
and the default being a list?
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.
No, sadly we get a tuple and gunicorn doesn't like that.
Backport to 3.49: 💚 backport PR created✅ Backport PR branch: Backported as #6073 🤖 @patchback |
Backport to 3.63: 💚 backport PR created✅ Backport PR branch: Backported as #6074 🤖 @patchback |
Backport to 3.68: 💚 backport PR created✅ Backport PR branch: Backported as #6075 🤖 @patchback |
Both content and api worker allow to specify --bind multiple times now.
fixes #6053