From 18bc7832138db05cf92f78f11cdc394512aab9aa Mon Sep 17 00:00:00 2001 From: Arik Kfir Date: Tue, 28 Nov 2017 23:16:46 +0200 Subject: [PATCH] Fix invocation of Python script to use updated arguments format. --- cloudflared.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cloudflared.sh b/cloudflared.sh index e6bf725..be1b026 100755 --- a/cloudflared.sh +++ b/cloudflared.sh @@ -38,9 +38,7 @@ while true; do "name": .metadata.name, ips: [.status.loadBalancer.ingress[].ip], "dns": .metadata.annotations.dns|fromjson - }]' | $(dirname $0)/update_dns_records.py --domain "${DOMAIN}" \ - --auth-email "${AUTH_EMAIL}" \ - --auth-key "${AUTH_KEY}" + }]' | $(dirname $0)/update_dns_records.py "${DOMAIN}" "${AUTH_EMAIL}" "${AUTH_KEY}" if [[ $? != 0 ]]; then echo "Updating service DNS records failed!" >&2 exit 1 @@ -58,9 +56,7 @@ while true; do "name": .metadata.name, ips: [.status.loadBalancer.ingress[].ip], "dns": [ .spec.rules[].host ] - }]' | $(dirname $0)/update_dns_records.py --domain "${DOMAIN}" \ - --auth-email "${AUTH_EMAIL}" \ - --auth-key "${AUTH_KEY}" + }]' | $(dirname $0)/update_dns_records.py "${DOMAIN}" "${AUTH_EMAIL}" "${AUTH_KEY}" if [[ $? != 0 ]]; then echo "Updating ingress DNS records failed!" >&2 exit 1