diff options
Diffstat (limited to 'provider_base/services/static.rb')
-rw-r--r-- | provider_base/services/static.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/provider_base/services/static.rb b/provider_base/services/static.rb index d020ba26..4c7d2e59 100644 --- a/provider_base/services/static.rb +++ b/provider_base/services/static.rb @@ -1,2 +1,4 @@ -self['dns']['aliases'] += self.static.domains.keys -self['dns']['aliases'].uniq! +if self['static'] && self['static']['domains'] + self['dns']['aliases'] += self['static']['domains'].keys + self['dns']['aliases'].uniq! +end
\ No newline at end of file |