feat(ingress.tjo.cloud): debug
This commit is contained in:
parent
53eef3d6fc
commit
8ca76b5d92
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,10 @@ services=(
|
||||||
"ifconfig.io"
|
"ifconfig.io"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
debug() {
|
||||||
|
echo "DEBUG: $1"
|
||||||
|
}
|
||||||
|
|
||||||
info() {
|
info() {
|
||||||
echo "INFO: $1"
|
echo "INFO: $1"
|
||||||
}
|
}
|
||||||
|
@ -158,6 +162,7 @@ healthcheck() {
|
||||||
|
|
||||||
while (true); do
|
while (true); do
|
||||||
domain_records=$(dnsimple_list_record)
|
domain_records=$(dnsimple_list_record)
|
||||||
|
debug "domain_records=$domain_records"
|
||||||
|
|
||||||
for service in "${services[@]}"; do
|
for service in "${services[@]}"; do
|
||||||
info "service=$service Discovering public IP address..."
|
info "service=$service Discovering public IP address..."
|
||||||
|
|
Loading…
Reference in a new issue