We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7d39ed6 + e814bd2 commit 0bfb53dCopy full SHA for 0bfb53d
1 file changed
openstackclient/network/v2/network.py
@@ -614,7 +614,15 @@ def take_action(
614
'Availability Zones',
615
'Tags',
616
)
617
- elif parsed_args.agent_id:
+ else:
618
+ columns = ('id', 'name', 'subnet_ids')
619
+ column_headers = (
620
+ 'ID',
621
+ 'Name',
622
+ 'Subnets',
623
+ )
624
+
625
+ if parsed_args.agent_id:
626
columns = ('id', 'name', 'subnet_ids')
627
column_headers = (
628
'ID',
@@ -635,13 +643,6 @@ def take_action(
635
643
for s in client.dhcp_agent_hosting_networks(dhcp_agent)
636
644
),
637
645
638
- else:
639
- columns = ('id', 'name', 'subnet_ids')
640
- column_headers = (
641
- 'ID',
642
- 'Name',
- 'Subnets',
- )
646
647
args = {}
648
0 commit comments