delft/eris: current is calculated from status field
Cole Helbling committed
Nov 23, 2021 at 14:49 UTC
d778eae618003ecd719a470be92cfdd0877d827d
1 file changed
+1
-1
delft/eris.nix
+1
-1
@@ -494,7 +494,7 @@ in {
494
metrics_path = "/job/${value.job}/prometheus";
495
static_configs = [ {
496
labels = {
497
- current = if value.current then "1" else "0";
497
+ current = if value.status != "unmaintained" then "1" else "0";
498
channel = name;
499
};
500
targets = [ "hydra.nixos.org:443" ];