From a2a7e8173fd79e3f19d7f765b7ba0d6ccd250d50 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Thu, 7 Jun 2018 20:55:16 +0200 Subject: [PATCH] lnl: fix hydra-bad-machines, whitespace? --- modules/examples/lnl.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix index 57da845..46ef94f 100644 --- a/modules/examples/lnl.nix +++ b/modules/examples/lnl.nix @@ -243,8 +243,8 @@ } hydra-bad-machines() { - local url=''${1:-https://hydra.nixos.org} - curl -fsSL -H 'Accept: application/json' $url/queue-runner-status | jq -r '.machines | to_entries | .[] | select(.value.consecutiveFailures>0) | .key' + local url=https://hydra.nixos.org + curl -fsSL -H 'Accept: application/json' $url/queue-runner-status | jq -r '.machines | to_entries | .[] | select(.value.consecutiveFailures>0) | .key' } hydra-job-revision() {