diff --git a/plugins/docker/templates/docker/rows.html b/plugins/docker/templates/docker/rows.html index 9a9b37d..1971211 100644 --- a/plugins/docker/templates/docker/rows.html +++ b/plugins/docker/templates/docker/rows.html @@ -29,8 +29,8 @@ {% if attention or failing_services %}

Needs attention {{ problems }} - {%- if unhealthy %} · {{ unhealthy }} unhealthy{% endif %} - {%- if restarting %} · {{ restarting }} restarting{% endif %}

+ {%- if unhealthy %} · {{ unhealthy }} unhealthy{% endif %} + {%- if restarting %} · {{ restarting }} restarting{% endif %}
")] assert 'Restarting' in card assert 'href="/plugins/docker/container/h1/api" title="api">api' in card @@ -84,8 +84,8 @@ async def test_a_crash_loop_comes_first_and_a_stale_row_says_so(app): assert "cache" not in card assert page.index("Needs attention") < page.index("1 ' - '· 1 restarting') in card + assert ('Needs attention 1' + ' · 1 restarting') in card assert '">1 stale' in page[:page.index("

")] # stale sits in the verdict assert 'class="badge badge-warn" title="Last report' in page # the stale row # CPU in cores, toned by its share of the host's CPUs through Settings → Thresholds.