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

Missing tagged_addresses in service register #83

Open
mskillx opened this issue Sep 17, 2024 · 1 comment
Open

Missing tagged_addresses in service register #83

mskillx opened this issue Sep 17, 2024 · 1 comment

Comments

@mskillx
Copy link

mskillx commented Sep 17, 2024

Missing tagged_addresses in Service registration

class Service:
        def __init__(self, agent):
            self.agent = agent

        def register(
            self,
            name,
            service_id=None,
            address=None,
            port=None,
            tags=None,
            check=None,
            token=None,
            meta=None,
            weights=None,
            tagged_addresses= dict | None, <<<<<<-----------------
            # *deprecated* use check parameter
            script=None,
            interval=None,
            ttl=None,
            http=None,
            timeout=None,
            enable_tag_override=False,
            extra_checks=None,
        ):  ...
if tagged_addresses:
                payload["tagged_addresses"] = tagged_addresses```
@cpaillet
Copy link
Contributor

Can you create a PR ?
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants