nixos/tests: fix prometheus-exporter formatting

This commit is contained in:
Franz Pletz 2019-11-13 14:56:36 +01:00
parent 60f2e4f831
commit 7d1731186e
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -457,9 +457,7 @@ let
wait_for_unit("prometheus-varnish-exporter.service")
wait_for_open_port(6081)
wait_for_open_port(9131)
succeed(
"curl -sSf http://localhost:9131/metrics | grep -q 'varnish_up 1'"
)
succeed("curl -sSf http://localhost:9131/metrics | grep -q 'varnish_up 1'")
'';
};