Merge "Don't report 'exiting' when mapping cells"
This commit is contained in:
commit
dbfb6def5b
|
@ -1329,7 +1329,7 @@ class CellV2Commands(object):
|
|||
# we should support.
|
||||
cell_mapping_uuid = host_mapping.cell_mapping.uuid
|
||||
if not missing_nodes:
|
||||
print(_('All hosts are already mapped to cell(s), exiting.'))
|
||||
print(_('All hosts are already mapped to cell(s).'))
|
||||
return cell_mapping_uuid
|
||||
# Create the cell mapping in the API database
|
||||
if cell_mapping_uuid is not None:
|
||||
|
|
|
@ -1103,7 +1103,7 @@ class CellV2CommandsTestCase(test.NoDBTestCase):
|
|||
for i in range(3):
|
||||
expected += ('Host host%s is already mapped to cell %s\n' %
|
||||
(i, cell_mapping_uuid))
|
||||
expected += 'All hosts are already mapped to cell(s), exiting.'
|
||||
expected += 'All hosts are already mapped to cell(s).'
|
||||
self.assertEqual(expected, output)
|
||||
|
||||
def test_map_cell_and_hosts_partial_update(self):
|
||||
|
|
Loading…
Reference in New Issue