diff options
-rw-r--r-- | oslo_concurrency/lockutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_concurrency/lockutils.py b/oslo_concurrency/lockutils.py index 1a9abe8..c75d3a3 100644 --- a/oslo_concurrency/lockutils.py +++ b/oslo_concurrency/lockutils.py @@ -180,7 +180,7 @@ def _get_lock_path(name, lock_file_prefix, lock_path=None): local_lock_path = lock_path or CONF.oslo_concurrency.lock_path if not local_lock_path: - raise cfg.RequiredOptError('lock_path') + raise cfg.RequiredOptError('lock_path', 'oslo_concurrency') return os.path.join(local_lock_path, name) |