nixos/prometheus-exporters: fix smartctl test
This commit is contained in:
parent
b11a36879f
commit
2b42b842ed
1 changed files with 1 additions and 1 deletions
|
@ -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"'
|
||||
)
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue