Skip to content

Commit be1de89

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "compute: Use correct command class for 'show migration'"
2 parents 91a9638 + 442838e commit be1de89

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

openstackclient/compute/v2/server.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3037,8 +3037,13 @@ def take_action(self, parsed_args):
30373037
return self.print_migrations(parsed_args, compute_client, migrations)
30383038

30393039

3040-
class ShowMigration(command.Command):
3041-
"""Show a migration for a given server."""
3040+
class ShowMigration(command.ShowOne):
3041+
"""Show an in-progress live migration for a given server.
3042+
3043+
Note that it is not possible to show cold migrations or completed
3044+
live-migrations. Use 'openstack server migration list' to get details for
3045+
these.
3046+
"""
30423047

30433048
def get_parser(self, prog_name):
30443049
parser = super().get_parser(prog_name)

0 commit comments

Comments
 (0)