We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34edbd6 commit a4934c7Copy full SHA for a4934c7
manager/tests/packaging/interactive/cache-clear.sh
@@ -7,9 +7,9 @@ if [ "$?" -ne "0" ]; then
7
exit 1
8
fi
9
10
-# clear just example.com. AAAA record
11
-kresctl cache clear --exact-name --rr-type AAAA example.com.
+# clear just example.com. AAAA record, get JSON output
+kresctl cache clear --json --exact-name --rr-type AAAA example.com. | python3 -m json.tool
12
if [ "$?" -ne "0" ]; then
13
- echo "Could not clear example.com. AAAA record"
+ echo "Could not clear example.com. AAAA record or output is not a valid JSON"
14
15
0 commit comments