]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Remove references to Swift in chunked driver
authorTom Barron <tpb@dyncloud.net>
Thu, 8 Oct 2015 01:10:48 +0000 (21:10 -0400)
committerTom Barron <tpb@dyncloud.net>
Thu, 8 Oct 2015 18:21:36 +0000 (18:21 +0000)
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

cinder/backup/chunkeddriver.py

index e9f56954e7af0dc8e343ab227d679a335f8aa9c4..236b2281649158507d16660aff29c641423f448e 100644 (file)
@@ -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: