diff options
| author | Justin Santa Barbara <justin@fathomdb.com> | 2011-12-18 19:26:37 -0800 |
|---|---|---|
| committer | Justin Santa Barbara <justin@fathomdb.com> | 2011-12-18 19:27:09 -0800 |
| commit | 1314ee08a68e929d87ab5fdbf4cb8c4882bd5bb0 (patch) | |
| tree | 851ab496b882b5e053fd00db4c09d52c8aeb8b25 | |
| parent | b60fcb547c228b989e20ea1d97b1192af96df3ee (diff) | |
create_export and ensure_export should pass up the return value, to update the database
Change-Id: I7ddc662dd31266d3724c76f65008071b3006215a
| -rw-r--r-- | nova/volume/san.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/volume/san.py b/nova/volume/san.py index 490605976..d8c997260 100644 --- a/nova/volume/san.py +++ b/nova/volume/san.py @@ -264,10 +264,10 @@ class SolarisISCSIDriver(SanISCSIDriver): # It then runs ~5 SSH commands for each volume, # most of which fetch the same info each time # This makes initial start stupid-slow - self._do_export(volume, force_create=False) + return self._do_export(volume, force_create=False) def create_export(self, context, volume): - self._do_export(volume, force_create=True) + return self._do_export(volume, force_create=True) def _do_export(self, volume, force_create): # Create a Logical Unit (LU) backed by the zfs volume |
