Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Packet worker/controller: improve wait-for-dns output #735

Merged
merged 1 commit into from
Jul 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,11 @@ storage:
nameservers=$out
break
fi
echo "Failed with exit code $ret: $out"
if [[ "$out" = "" ]]; then
echo "No nameservers found for $zone"
else
echo "dig failed with exit code $ret: $out"
fi
sleep 1
counter=$((counter+1))
done
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,11 @@ storage:
nameservers=$out
break
fi
echo "Failed with exit code $ret: $out"
if [[ "$out" = "" ]]; then
echo "No nameservers found for $zone"
else
echo "dig failed with exit code $ret: $out"
fi
sleep 1
counter=$((counter+1))
done
Expand Down
Loading