aboutsummaryrefslogtreecommitdiff
path: root/migration/migration.h
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2018-01-03 20:20:12 +0800
committerJuan Quintela <quintela@redhat.com>2018-01-15 12:48:10 +0100
commit39b9e17905c5ff8302c0ff17af546cbf68e0b4f6 (patch)
tree7f59719b57d2b121ece385ff5287503b8fa9f5b7 /migration/migration.h
parentcf011f082d7a2a9abfc0a257cc4de1cfcfbef24d (diff)
migration: use switch at the end of migration
It converts the old if clauses into switch, explicitly mentions the possible migration states. The old nested "if"s are not clear on what we do on different states. Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/migration.h')
0 files changed, 0 insertions, 0 deletions