Merge "compute: Use correct command class for 'show migration'"
This commit is contained in:
commit
be1de891ac
|
@ -3037,8 +3037,13 @@ class ListMigration(command.Lister):
|
||||||
return self.print_migrations(parsed_args, compute_client, migrations)
|
return self.print_migrations(parsed_args, compute_client, migrations)
|
||||||
|
|
||||||
|
|
||||||
class ShowMigration(command.Command):
|
class ShowMigration(command.ShowOne):
|
||||||
"""Show a migration for a given server."""
|
"""Show an in-progress live migration for a given server.
|
||||||
|
|
||||||
|
Note that it is not possible to show cold migrations or completed
|
||||||
|
live-migrations. Use 'openstack server migration list' to get details for
|
||||||
|
these.
|
||||||
|
"""
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
parser = super().get_parser(prog_name)
|
parser = super().get_parser(prog_name)
|
||||||
|
|
Loading…
Reference in New Issue