Skip to content

HaproxyRouteTcpRequirer documentation suggests multiple backend ports supported, when not #403

@andylshort

Description

@andylshort

Bug Description

The documentation for the construction parameters for HaproxyRouteTcpRequirer (and in other places) suggests:

port: The provider port.
backend_port: List of ports the service is listening on.

But backend_port is Optional[int], not a list.

What is the intended behaviour here? There are some instances where it might be very useful to actually have multiple backend ports, or for the port/backend port to be a mapping instead, so as to reduce the amount of relations required.

Impact

Low (minor issue or cosmetic problem)

Impact Rationale

No response

To Reproduce

See docs:

Environment

Latest version, any environment

Relevant log output

N/A.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions