Merge pull request #284326 from WilliButz/snmp-exporter-module/fix-logPrefix

nixos/prometheus-snmp-exporter: fix undefined logPrefix
This commit is contained in:
Franz Pletz 2024-01-31 19:55:40 +01:00 committed by GitHub
commit 9e485b2169
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,7 @@
with lib;
let
logPrefix = "services.prometheus.exporters.snmp";
cfg = config.services.prometheus.exporters.snmp;
# This ensures that we can deal with string paths, path types and