diff options
| author | Jesse Andrews <anotherjesse@gmail.com> | 2011-04-08 15:23:17 -0700 |
|---|---|---|
| committer | Jesse Andrews <anotherjesse@gmail.com> | 2011-04-08 15:23:17 -0700 |
| commit | 7f04c6f5165ea96f22ec17bdbe7a3f2a7595edb1 (patch) | |
| tree | a3a3d82d8ad9fff3946e76cc5a0d12d8ac9826f4 | |
| parent | df4c269a338a9b983488ce4d5b86c829a92d471b (diff) | |
| download | nova-7f04c6f5165ea96f22ec17bdbe7a3f2a7595edb1.tar.gz nova-7f04c6f5165ea96f22ec17bdbe7a3f2a7595edb1.tar.xz nova-7f04c6f5165ea96f22ec17bdbe7a3f2a7595edb1.zip | |
typo - need to get nova-volumes working on this machine :-/
| -rw-r--r-- | nova/volume/driver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/volume/driver.py b/nova/volume/driver.py index 43792b791..f9c268191 100644 --- a/nova/volume/driver.py +++ b/nova/volume/driver.py @@ -113,7 +113,7 @@ class VolumeDriver(object): # TODO(ja): reclaiming space should be done lazy and low priority self._try_execute('sudo', 'dd', 'if=/dev/zero', 'of=%s' % self.local_path(volume), - 'count=%d' % volume['size'] * 1024, + 'count=%d' % (volume['size'] * 1024), 'bs=1M') self._try_execute('sudo', 'lvremove', '-f', "%s/%s" % (FLAGS.volume_group, |
