Commit 3a5d7305 authored by Guido Trotter's avatar Guido Trotter
Browse files

Fix a typo in LogicalUnit.ExpandNames docstring

s/locking.LEVEL_INSTANCES/locking.LEVEL_INSTANCE/

Reviewed-by: iustinp
parent f6d9a522
...@@ -136,7 +136,7 @@ class LogicalUnit(object): ...@@ -136,7 +136,7 @@ class LogicalUnit(object):
# Acquire all nodes and one instance # Acquire all nodes and one instance
self.needed_locks = { self.needed_locks = {
locking.LEVEL_NODE: locking.ALL_SET, locking.LEVEL_NODE: locking.ALL_SET,
locking.LEVEL_INSTANCES: ['instance1.example.tld'], locking.LEVEL_INSTANCE: ['instance1.example.tld'],
} }
# Acquire just two nodes # Acquire just two nodes
self.needed_locks = { self.needed_locks = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment