diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-10-26 02:28:54 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-10-26 02:28:54 +0000 |
| commit | 409de17308f221468e6e9d609752a57da34f1b3b (patch) | |
| tree | 8acefdff6e5154861eb74ba25232207ed24aa90b /nova/volume | |
| parent | f1e5fbf92af1fb1e1c2f0634870159e7bac19cfd (diff) | |
| parent | 0d4e6dbe6f17d0a8d0f93833c1ea70f79944d945 (diff) | |
| download | nova-409de17308f221468e6e9d609752a57da34f1b3b.tar.gz nova-409de17308f221468e6e9d609752a57da34f1b3b.tar.xz nova-409de17308f221468e6e9d609752a57da34f1b3b.zip | |
Merge "Migrate to fileutils and lockutils."
Diffstat (limited to 'nova/volume')
| -rw-r--r-- | nova/volume/iscsi.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/volume/iscsi.py b/nova/volume/iscsi.py index 275132ce6..018a86552 100644 --- a/nova/volume/iscsi.py +++ b/nova/volume/iscsi.py @@ -24,6 +24,7 @@ import os from nova import exception from nova import flags from nova.openstack.common import cfg +from nova.openstack.common import fileutils from nova.openstack.common import log as logging from nova import utils @@ -109,7 +110,7 @@ class TgtAdm(TargetAdmin): # Note(jdg) tid and lun aren't used by TgtAdm but remain for # compatibility - utils.ensure_tree(FLAGS.volumes_dir) + fileutils.ensure_tree(FLAGS.volumes_dir) vol_id = name.split(':')[1] volume_conf = """ |
