Fix typo in devref/api_conditional_updates.rst
Change-Id: I0cac2688e7fa764ddf353583113faca8aa2deb46
This commit is contained in:
parent
0d88d72362
commit
0217f47979
@ -58,7 +58,7 @@ updating the DB. In essence it is the SQL equivalent of an ``UPDATE ... FROM
|
||||
It is implemented as an abstraction layer on top of SQLAlchemy ORM engine in
|
||||
our DB api layer and exposed for consumption in Cinder's Persistent Versioned
|
||||
Objects through the ``conditional_update`` method so it can be used from any
|
||||
Vesioned Object instance that has persistence (Volume, Snapshot, Backup...).
|
||||
Versioned Object instance that has persistence (Volume, Snapshot, Backup...).
|
||||
|
||||
Method signature is:
|
||||
|
||||
@ -166,7 +166,7 @@ Basic Usage
|
||||
queries/conditions and as the rest of the DB methods must be properly
|
||||
abstracted from the API.
|
||||
|
||||
Therefore we will create the medhot in cinder/db/sqlalchemy/api.py:
|
||||
Therefore we will create the method in cinder/db/sqlalchemy/api.py:
|
||||
|
||||
.. code:: python
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user