Skip to content

Commit

Permalink
in dns builds, skip if not root_domain
Browse files Browse the repository at this point in the history
  • Loading branch information
murrown committed May 17, 2013
1 parent 568927c commit 36c354a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cyder/cydns/cybind/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,10 @@ def build_zone_files(self, soa_pks_to_rebuild):
# it as dirty so it can be rebuild
try:
root_domain = soa.root_domain # This is an expensive lookup

if not root_domain:
continue

# General order of things:
# * Find which views should have a zone file built and add them
# to a list.
Expand Down

0 comments on commit 36c354a

Please sign in to comment.