diff options
| author | vladimir.p <vladimir@zadarastorage.com> | 2011-07-22 15:22:05 -0700 |
|---|---|---|
| committer | vladimir.p <vladimir@zadarastorage.com> | 2011-07-22 15:22:05 -0700 |
| commit | 0750370553c3ce40fdd5e88d9616ddb0fbeedbc1 (patch) | |
| tree | 202111008f2e1043cd3a896e331b8f75b7d47d49 | |
| parent | 9e74803d5eb8a70ba829ac0569f1cd6cd372a6f2 (diff) | |
| download | nova-0750370553c3ce40fdd5e88d9616ddb0fbeedbc1.tar.gz nova-0750370553c3ce40fdd5e88d9616ddb0fbeedbc1.tar.xz nova-0750370553c3ce40fdd5e88d9616ddb0fbeedbc1.zip | |
pep8-compliant. Prior to merge with 1305
| -rw-r--r-- | nova/volume/manager.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nova/volume/manager.py b/nova/volume/manager.py index d2c36e96f..348dab782 100644 --- a/nova/volume/manager.py +++ b/nova/volume/manager.py @@ -291,15 +291,16 @@ class VolumeManager(manager.SchedulerDependentManager): if volume_stats: LOG.info(_("Checking volume capabilities")) - if self._volume_stats_changed(self._last_volume_stats, volume_stats): - + if self._volume_stats_changed(self._last_volume_stats, + volume_stats): LOG.info(_("New capabilities found: %s"), volume_stats) self._last_volume_stats = volume_stats - + # This will grab info about the host and queue it # to be sent to the Schedulers. self.update_service_capabilities(self._last_volume_stats) else: + # avoid repeating fanouts self.update_service_capabilities(None) def notification(self, context, event): |
