We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9493883 commit 7657001Copy full SHA for 7657001
show/main.py
@@ -1526,7 +1526,14 @@ def config(redis_unix_socket_path):
1526
def tablelize(keys, data):
1527
table = []
1528
1529
- for k in keys:
+ for k in natsorted(keys):
1530
+ if 'members' not in data[k] :
1531
+ r = []
1532
+ r.append(k)
1533
+ r.append(data[k]['vlanid'])
1534
+ table.append(r)
1535
+ continue
1536
+
1537
for m in data[k].get('members', []):
1538
r = []
1539
r.append(k)
0 commit comments