summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Flaig <gefla@pond.sub.org>2022-11-27 17:57:24 +0100
committerYt <happysalada@proton.me>2022-11-27 15:57:09 -0500
commitc41fe275d786adfb499ae14350ca56e32352e514 (patch)
tree2522bed018c57a370e3e85259e13c86e712eed96
parentMerge pull request #203306 from NixOS/backport-202800-to-release-22.11 (diff)
downloadnixpkgs-c41fe275d786adfb499ae14350ca56e32352e514.tar.gz
Use file sink encoding `json`
Encoding ndjson isn't supported in recent versions. (cherry picked from commit f7860db91e4fb841c093971461c531c5d6ca2d14)
-rw-r--r--nixos/tests/vector.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/vector.nix b/nixos/tests/vector.nix
index ecf94e33ff17..9309f6a14dd7 100644
--- a/nixos/tests/vector.nix
+++ b/nixos/tests/vector.nix
@@ -21,7 +21,7 @@ with pkgs.lib;
type = "file";
inputs = [ "journald" ];
path = "/var/lib/vector/logs.log";
- encoding = { codec = "ndjson"; };
+ encoding = { codec = "json"; };
};
};
};