mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/tests/loki: remove no longer needed example config patching
Upstream moved enable_multi_variant_queries to the correct config section in v3.6.0.
This commit is contained in:
parent
c3964a5c40
commit
b8e7b088a2
1 changed files with 1 additions and 9 deletions
|
|
@ -10,15 +10,7 @@
|
|||
{
|
||||
services.loki = {
|
||||
enable = true;
|
||||
|
||||
# FIXME: revert to original file when upstream fix released
|
||||
# https://github.com/grafana/loki/issues/16990
|
||||
# https://github.com/grafana/loki/issues/17736
|
||||
# configFile = "${pkgs.grafana-loki.src}/cmd/loki/loki-local-config.yaml";
|
||||
configFile = pkgs.runCommand "patched-loki-cfg.yml" { } ''
|
||||
substitute "${pkgs.grafana-loki.src}/cmd/loki/loki-local-config.yaml" "$out" \
|
||||
--replace-fail "enable_multi_variant_queries: true" ""
|
||||
'';
|
||||
configFile = "${pkgs.grafana-loki.src}/cmd/loki/loki-local-config.yaml";
|
||||
};
|
||||
services.promtail = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue