Skip to content

Panic if there are no hosts #15

@JensRantil

Description

@JensRantil

A common scenario is that there are no downstream services available. In that case this library will panic (referencing first item in an empty list). I'd expect to get an error of some kind from the HostPool.Get() call. Unfortunately this would change the public API and not be a backwards compatible change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions