mirror of
https://github.com/bakito/adguardhome-sync.git
synced 2025-01-10 09:09:46 +08:00
8 lines
227 B
Bash
Executable file
8 lines
227 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
echo Pod adguardhome-sync logs
|
|
kubectl logs adguardhome-sync
|
|
ERRORS=$(kubectl logs adguardhome-sync | grep Error | wc -l)
|
|
echo "Found ${ERRORS} error(s) in log";
|
|
if [[ "${ERRORS}" != "0" ]]; then exit 1; fi
|