Skip to content

Commit cc6f976

Browse files
authored
fix to read rrdatas in dns setup (#341)
1 parent ec666f6 commit cc6f976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/bin/kctf-cluster

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ function kctf_cluster_start_gce {
563563
gcloud dns managed-zones create "${ZONE_NAME}" --description "DNS Zone for ${DOMAIN_NAME}" --dns-name="${DOMAIN_NAME}." || return
564564
soa_ttl="$(gcloud dns record-sets list --zone=${ZONE_NAME} --type=SOA --name="${DOMAIN_NAME}." --format='get(ttl)')"
565565
if [[ $? -ne 0 ]]; then return 1; fi
566-
soa_data="$(gcloud dns record-sets list --zone=${ZONE_NAME} --type=SOA --name="${DOMAIN_NAME}." --format='get(DATA)')"
566+
soa_data="$(gcloud dns record-sets list --zone=${ZONE_NAME} --type=SOA --name="${DOMAIN_NAME}." --format='get(rrdatas)')"
567567
if [[ $? -ne 0 ]]; then return 1; fi
568568
new_soa=($soa_data)
569569
# update the serial no

0 commit comments

Comments
 (0)