1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/bash set -e kresctl schema if [ "$?" -ne "0" ]; then echo "Failed to generate JSON schema with 'kresctl'" exit 1 fi kresctl schema --live if [ "$?" -ne "0" ]; then echo "Failed to get JSON schema from the running resolver" exit 1 fi