diff --git a/service.py b/service.py index b116d01..3850821 100755 --- a/service.py +++ b/service.py @@ -51,11 +51,11 @@ def render_services_per_host(host, data): services_template = """
  • - {0} - {2} + {} + {}
  • """ - services_hostname_template = """

    {}

    OK
    """ + services_hostname_template = """

    {0}

    {2}
    """ for service in sorted(data['services']['results'], key=lambda x: x['attrs']['display_name']): if service['attrs']['host_name'] == host: