@@ -691,6 +691,7 @@ async def _methPoolSvcDel(self, svcname):
691
691
{"name": "host", "width": 16},
692
692
{"name": "port", "width": 8},
693
693
{"name": "version", "width": 12},
694
+ {"name": "synapse", "width": 12},
694
695
{"name": "nexus idx", "width": 10},
695
696
],
696
697
"separators": {
@@ -732,6 +733,7 @@ async def _methPoolSvcDel(self, svcname):
732
733
'host': $svcinfo.urlinfo.host,
733
734
'port': $svcinfo.urlinfo.port,
734
735
'version': '<unknown>',
736
+ 'synapse_version': '<unknown>',
735
737
'nexs_indx': (0)
736
738
})
737
739
if ($cell_infos.$svcname) {
@@ -743,7 +745,8 @@ async def _methPoolSvcDel(self, svcname):
743
745
} else {
744
746
$status.role = 'leader'
745
747
}
746
- $status.version = $info.synapse.verstring
748
+ $status.version = $info.cell.verstring
749
+ $status.synapse_version = $info.synapse.verstring
747
750
}
748
751
$group_status.append($status)
749
752
}
@@ -779,6 +782,7 @@ async def _methPoolSvcDel(self, svcname):
779
782
$status.host,
780
783
$status.port,
781
784
$status.version,
785
+ $status.synapse_version,
782
786
$status.nexs_indx
783
787
)
784
788
$lib.print($printer.row($row))
0 commit comments