From 5ba0c704b9690e6d0f904fd6445ee9bc4b7b541d Mon Sep 17 00:00:00 2001 From: Tom Barron Date: Wed, 7 Oct 2015 21:10:48 -0400 Subject: [PATCH] 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 --- cinder/backup/chunkeddriver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.45.2