summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--designateclient/v2/cli/zones.py2
-rw-r--r--releasenotes/notes/bug-1940544-9ed7805341dec1ba.yaml6
2 files changed, 7 insertions, 1 deletions
diff --git a/designateclient/v2/cli/zones.py b/designateclient/v2/cli/zones.py
index cf777ed..6d059c6 100644
--- a/designateclient/v2/cli/zones.py
+++ b/designateclient/v2/cli/zones.py
@@ -56,7 +56,7 @@ class ListZonesCommand(command.Lister):
parser.add_argument('--email', help="Zone Email", required=False)
parser.add_argument('--type', help="Zone Type",
choices=["PRIMARY", "SECONDARY"],
- default="PRIMARY",
+ default=None,
required=False)
parser.add_argument('--ttl', help="Time To Live (Seconds)",
required=False)
diff --git a/releasenotes/notes/bug-1940544-9ed7805341dec1ba.yaml b/releasenotes/notes/bug-1940544-9ed7805341dec1ba.yaml
new file mode 100644
index 0000000..efbe164
--- /dev/null
+++ b/releasenotes/notes/bug-1940544-9ed7805341dec1ba.yaml
@@ -0,0 +1,6 @@
+---
+
+fixes:
+ - |
+ Include SECONDARY zone type to 'zone list' command output. Previously only
+ PRIMARY zones were shown \ No newline at end of file