diff options
| author | Todd Willey <todd@rubidine.com> | 2010-07-14 20:14:25 -0400 |
|---|---|---|
| committer | Todd Willey <todd@rubidine.com> | 2010-07-14 20:14:25 -0400 |
| commit | 5ff20ec381ca6d051d5052efe99c142da602622f (patch) | |
| tree | 4c5e919502c28f1aa8bb68e4c98a1fc9b949670f /nova/volume | |
| parent | 70783d594c15f1aafd6b1a6ba28ae6bd25102285 (diff) | |
Move BasicModel into datastore.
Diffstat (limited to 'nova/volume')
| -rw-r--r-- | nova/volume/storage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/volume/storage.py b/nova/volume/storage.py index 82d7a4c22..4a92c3b38 100644 --- a/nova/volume/storage.py +++ b/nova/volume/storage.py @@ -156,7 +156,7 @@ class BlockStore(object): utils.runthis("PVCreate returned: %s", "sudo pvcreate %s" % (FLAGS.storage_dev)) utils.runthis("VGCreate returned: %s", "sudo vgcreate %s %s" % (FLAGS.volume_group, FLAGS.storage_dev)) -class Volume(model.BasicModel): +class Volume(datastore.BasicModel): def __init__(self, volume_id=None): self.volume_id = volume_id |
