Merge "Make cinder-manage service list to print full host"
This commit is contained in:
commit
89ae4aae3d
@ -551,7 +551,7 @@ class ServiceCommands(BaseCommand):
|
||||
rpc_version = svc.rpc_current_version
|
||||
object_version = svc.object_current_version
|
||||
cluster = svc.cluster_name or ''
|
||||
print(print_format % (svc.binary, svc.host.partition('.')[0],
|
||||
print(print_format % (svc.binary, svc.host,
|
||||
svc.availability_zone, status, art,
|
||||
updated_at, rpc_version, object_version,
|
||||
cluster))
|
||||
|
@ -667,7 +667,7 @@ class TestCinderManageCmd(test.TestCase):
|
||||
object_version = service['object_current_version']
|
||||
cluster = service.get('cluster_name', '')
|
||||
service_format = format % (service['binary'],
|
||||
service['host'].partition('.')[0],
|
||||
service['host'],
|
||||
service['availability_zone'],
|
||||
'enabled',
|
||||
':-)',
|
||||
|
Loading…
Reference in New Issue
Block a user