]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Misspelling in message
authorapril <xiaolixu@cn.ibm.com>
Mon, 28 Dec 2015 13:55:39 +0000 (21:55 +0800)
committerapril <xiaolixu@cn.ibm.com>
Tue, 29 Dec 2015 10:37:31 +0000 (18:37 +0800)
Misspelling in the message:
"commited immediately to the DB"
Should be "committed immediately to the DB"

Totally 4 occasions in Cinder base code

Change-Id: I3ae84e7680fe4da721047cd9a0e2d94ec426795f

cinder/db/sqlalchemy/api.py
cinder/volume/drivers/remotefs.py
cinder/volume/flows/api/create_volume.py

index b62741c3b22708452f96ef5c0889ca275d26e475..c4b8e6187e3b4fae6699caf60a9de044918000f2 100644 (file)
@@ -1877,7 +1877,7 @@ def _volume_x_metadata_update(context, volume_id, metadata, delete, model,
 
     with session.begin(subtransactions=True):
         # Set existing metadata to deleted if delete argument is True.  This is
-        # commited immediately to the DB
+        # committed immediately to the DB
         if delete:
             expected_values = {'volume_id': volume_id}
             # We don't want to delete keys we are going to update
index cc27c46df8cea892cf8ca3e978e30c73443a0442..24a403c2ac2cfa721efc33718ac8f883480a57cd 100644 (file)
@@ -1024,7 +1024,7 @@ class RemoteFSSnapDriver(RemoteFSDriver, driver.SnapshotVD):
             #      T0       |        T1         |
             #     base      |   snapshot_file   | None
             # (guaranteed to|  (being deleted,  |
-            #    exist)     |   commited down)  |
+            #    exist)     |  committed down)  |
 
             self._img_commit(snapshot_path)
             # Active file has changed
@@ -1033,7 +1033,7 @@ class RemoteFSSnapDriver(RemoteFSDriver, driver.SnapshotVD):
             #      T0        |      T1         |     T2         |      T3
             #     base       |  snapshot_file  |  higher_file   | highest_file
             # (guaranteed to | (being deleted, | (guaranteed to |  (may exist)
-            #   exist, not   |  commited down) |  exist, needs  |
+            #   exist, not   | committed down) |  exist, needs  |
             #   used here)   |                 |   ptr update)  |
 
             backing_chain = self._get_backing_chain_for_path(
index e57565f351fa7ad438895ce8573a00601218d3eb..160e2333f0bb4f559fb0d774421d68278bff847a 100644 (file)
@@ -502,7 +502,7 @@ class EntryCreateTask(flow_utils.CinderTask):
             return
 
         if optional_args['is_quota_committed']:
-            # If quota got commited we shouldn't rollback as the volume has
+            # If quota got committed we shouldn't rollback as the volume has
             # already been created and the quota has already been absorbed.
             return