From: Tom Barron Date: Thu, 8 Oct 2015 01:10:48 +0000 (-0400) Subject: Remove references to Swift in chunked driver X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=5ba0c704b9690e6d0f904fd6445ee9bc4b7b541d;p=openstack-build%2Fcinder-build.git Remove references to Swift in chunked driver After the chunked/Swift backup driver refactor in commit 2f701a39208f9396893cd8a57165e37cfeb6fc2f some references to 'Swift' remained in code comments and log messages in code that no longer lives in the Swift driver proper. This commit cleans up those leftovers. Change-Id: I9c83661ed380cf728c9262d39f89cce0bc341509 Closes-Bug: 1452864 --- diff --git a/cinder/backup/chunkeddriver.py b/cinder/backup/chunkeddriver.py index e9f56954e..236b22816 100644 --- a/cinder/backup/chunkeddriver.py +++ b/cinder/backup/chunkeddriver.py @@ -449,7 +449,7 @@ class ChunkedBackupDriver(driver.BackupDriver): # 1. The notifications are periodically sent in a certain interval. # 2. The notifications are sent after a certain number of chunks. # Both of them are working simultaneously during the volume backup, - # when swift is taken as the backup backend. + # when "chunked" backup drivers are deployed. def _notify_progress(): self._send_progress_notification(self.context, backup, object_meta, @@ -707,7 +707,7 @@ class ChunkedBackupDriver(driver.BackupDriver): try: object_names = self._generate_object_names(backup) except Exception: - LOG.warning(_LW('swift error while listing objects, continuing' + LOG.warning(_LW('Error while listing objects, continuing' ' with delete.')) for object_name in object_names: