Fix wrong import example in docstring
Change-Id: I0abc5403851f9ab2f78cdf26d29b82c3ec76ec25
This commit is contained in:
parent
6bae2be9ba
commit
7279c316c8
@ -291,7 +291,7 @@ def synchronized_with_prefix(lock_file_prefix):
|
|||||||
Redefine @synchronized in each project like so::
|
Redefine @synchronized in each project like so::
|
||||||
|
|
||||||
(in nova/utils.py)
|
(in nova/utils.py)
|
||||||
from nova.openstack.common import lockutils
|
from oslo_concurrency import lockutils
|
||||||
|
|
||||||
synchronized = lockutils.synchronized_with_prefix('nova-')
|
synchronized = lockutils.synchronized_with_prefix('nova-')
|
||||||
|
|
||||||
@ -316,7 +316,7 @@ def remove_external_lock_file_with_prefix(lock_file_prefix):
|
|||||||
Redefine remove_external_lock_file_with_prefix in each project like so::
|
Redefine remove_external_lock_file_with_prefix in each project like so::
|
||||||
|
|
||||||
(in nova/utils.py)
|
(in nova/utils.py)
|
||||||
from nova.openstack.common import lockutils
|
from oslo_concurrency import lockutils
|
||||||
|
|
||||||
synchronized = lockutils.synchronized_with_prefix('nova-')
|
synchronized = lockutils.synchronized_with_prefix('nova-')
|
||||||
synchronized_remove = lockutils.remove_external_lock_file_with_prefix(
|
synchronized_remove = lockutils.remove_external_lock_file_with_prefix(
|
||||||
|
Loading…
Reference in New Issue
Block a user