Merge "Fix DNS secondary zone creation"
This commit is contained in:
commit
a5013d423d
@ -70,6 +70,9 @@ class Proxy(proxy.Proxy):
|
||||
:returns: The results of zone creation.
|
||||
:rtype: :class:`~openstack.dns.v2.zone.Zone`
|
||||
"""
|
||||
if attrs.get('type') == "SECONDARY":
|
||||
attrs.pop('email', None)
|
||||
attrs.pop('ttl', None)
|
||||
return self._create(_zone.Zone, prepend_key=False, **attrs)
|
||||
|
||||
def get_zone(self, zone):
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixed DNS secondary zone creation. Now secondary zones do not
|
||||
require email not ttl, as both get overriden by the following
|
||||
zone transfer.
|
Loading…
x
Reference in New Issue
Block a user