diff options
author | Peter Xu <peterx@redhat.com> | 2018-01-03 20:20:12 +0800 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2018-01-15 12:48:10 +0100 |
commit | 39b9e17905c5ff8302c0ff17af546cbf68e0b4f6 (patch) | |
tree | 7f59719b57d2b121ece385ff5287503b8fa9f5b7 /migration/migration.h | |
parent | cf011f082d7a2a9abfc0a257cc4de1cfcfbef24d (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