reduce output on record change
This commit is contained in:
1 parent
a004730725
commit
5efc3b03a8
1 file changed
+2
-2
+2
-2
@@ -195,8 +195,8 @@ if [[ "$SCRIPT_ACTION" == "a" || "$UPDATE_A_RECORD" == "true" ]]; then
|
||||
|
||||
# Only A records are managed by this action, so filter out the rest
|
||||
# (CNAME, MX, TXT, ...) when showing the current state.
|
||||
echo "Previous value:"
|
||||
echo "$DOMAIN_RECORDS" | jq '.data[] | select(.type == "A")'
|
||||
#echo "Previous value:"
|
||||
#echo "$DOMAIN_RECORDS" | jq '.data[] | select(.type == "A")'
|
||||
|
||||
sleep 3
|
||||
|
||||
|
||||
Reference in new issue
Block a user