diff options
author | Ekaterina Chernova <efedorova@mirantis.com> | 2022-07-12 12:56:27 +0300 |
---|---|---|
committer | Michael Johnson <johnsomor@gmail.com> | 2022-07-14 20:26:01 +0000 |
commit | 435f1e78665a03226704637a952e75c30ff2b097 (patch) | |
tree | f04d7480c83a1ccec7082ed8bb038aa8064c5fb6 /designateclient | |
parent | 0d0d339cc6050122babb82d402c4d045d49c6629 (diff) | |
download | python-designateclient-435f1e78665a03226704637a952e75c30ff2b097.tar.gz |
Include SECONDARY zones into list command output
PRIMARY zone type is set by default, so SECONDARY
zones were not included in the command output.
Now all types are in output by default and specific type
can be passed as an argument like before
Closes-Bug: #1940544
Change-Id: Idbba68ebd3f74bde74f0b50ffcb233673dff2303
Diffstat (limited to 'designateclient')
-rw-r--r-- | designateclient/v2/cli/zones.py | 2 |
1 files changed, 1 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) |