diff options
| author | Rick Harris <rconradharris@gmail.com> | 2013-02-28 00:24:22 +0000 |
|---|---|---|
| committer | Rick Harris <rconradharris@gmail.com> | 2013-02-28 00:24:22 +0000 |
| commit | 40680d96302a266f2d56dcf3031ce7b27f260018 (patch) | |
| tree | e67f49854a20c9c5ca5be4731737c1c1d5a52c65 /nova/openstack | |
| parent | 547a9d795e30fb8ef94d071f02780f3f360c3c17 (diff) | |
| download | nova-40680d96302a266f2d56dcf3031ce7b27f260018.tar.gz nova-40680d96302a266f2d56dcf3031ce7b27f260018.tar.xz nova-40680d96302a266f2d56dcf3031ce7b27f260018.zip | |
Don't blindly skip first migration.
The existing code would, no matter-what, skip the first migration when
running through the migrations tests. This makes the code
slightly counterintuitive (why skip the first one?), and is not very
flexible.
The reworked logic lets a migration raise a `NotImplementedError` to
signal that it doesn't support a `downgrade`. This lets the
walk-versions code treat the first-migration just like any other.
Change-Id: I19fd8ebc6075392cf9e573b8b4166291584b4a83
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
