From 0d6fecc1fecc8e44013ebf2ee7060910fa22c7e0 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Wed, 14 Sep 2022 10:50:39 +0200 Subject: [PATCH] ttl: remove unneeded condition --- show_ttls.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/show_ttls.sh b/show_ttls.sh index 3a5569e..6fa1125 100755 --- a/show_ttls.sh +++ b/show_ttls.sh @@ -42,4 +42,4 @@ mysearch=$1 >&2 echo "; >>>>>>>>>> INFOBLOX DNS HELPER TTL v$_version" >&2 echo ";" "$( dirname $0 )"/dns-api.sh GET "/record:host?name~=${mysearch}&_return_fields%2B=ttl,use_ttl" \ - | jq -r '.[] | select ( .use_ttl == true and .ttl != null and .ttl > 0 and .ttl < 86400 ) | .name,.ttl' + | jq -r '.[] | select ( .use_ttl == true and .ttl != null ) | .name,.ttl' -- GitLab