Skip to content

How about to add a function for getting specified peer status #56

Open
@helinbo2015

Description

@helinbo2015
  • my scenario:
    when the upstream is unhealthy, i need to get the specified peer status(eg: DOWN) and do some suspend work, but not to show the peer status with function status_page().

  • workaround:
    so i have added a function get_peer_status() to get specified peer status.
    and i'd like to share with everybody who come across the same scenario.

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