diff options
| author | Todd Willey <todd@rubidine.com> | 2010-07-14 23:34:10 -0400 |
|---|---|---|
| committer | Todd Willey <todd@rubidine.com> | 2010-07-14 23:34:10 -0400 |
| commit | b0b2d607b4f2db8ffbb5d091c4a3cd33ea6ed672 (patch) | |
| tree | b8d015efcdd8ae6d2afbfef6627527e636fe36ce /nova/volume | |
| parent | 975f6f75111102d85c45a4e57f30255ececc9133 (diff) | |
| download | nova-b0b2d607b4f2db8ffbb5d091c4a3cd33ea6ed672.tar.gz nova-b0b2d607b4f2db8ffbb5d091c4a3cd33ea6ed672.tar.xz nova-b0b2d607b4f2db8ffbb5d091c4a3cd33ea6ed672.zip | |
Cleanups related to BasicModel (whitespace, names, etc).
Diffstat (limited to 'nova/volume')
| -rw-r--r-- | nova/volume/storage.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/volume/storage.py b/nova/volume/storage.py index 4a92c3b38..491c891fd 100644 --- a/nova/volume/storage.py +++ b/nova/volume/storage.py @@ -41,7 +41,6 @@ from nova import exception from nova import flags from nova import utils from nova import validate -from nova.compute import model FLAGS = flags.FLAGS @@ -199,7 +198,7 @@ class Volume(datastore.BasicModel): self['mountpoint'] = mountpoint self['status'] = "in-use" self['attach_status'] = "attaching" - self['attach_time'] = utils.utctime() + self['attach_time'] = utils.isotime() self['delete_on_termination'] = 'False' self.save() |
