blob: 4b3cdbb464930b0d2a5ce30e637aaa3ac9b9c4ab (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
status=$(curl -s -w "%{http_code}" -o /dev/null http://localhost:8888/v1/queues)
if [[ $status -ne 200 && $status -ne 204 ]]; then
echo "ERROR($status): queue list failed"
exit $status
fi
exit 0
|