nixos/prometheus-exporters: fix smartctl test

This commit is contained in:
Maximilian Bosch 2023-08-15 15:44:45 +02:00
parent b11a36879f
commit 2b42b842ed
No known key found for this signature in database
GPG Key ID: 9A6EEA275CA5BE0A

View File

@ -1200,7 +1200,7 @@ let
};
exporterTest = ''
wait_until_succeeds(
'journalctl -eu prometheus-smartctl-exporter.service -o cat | grep "Device unavailable"'
'journalctl -eu prometheus-smartctl-exporter.service -o cat | grep "Unable to detect device type"'
)
'';
};