Commit aefb66c0 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

cmdlib: Share lock in LUInstanceConsole



No writes are being done.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent d1ad741e
......@@ -9355,6 +9355,7 @@ class LUInstanceConsole(NoHooksLU):
REQ_BGL = False
def ExpandNames(self):
self.share_locks = _ShareAll()
self._ExpandAndLockInstance()
def CheckPrereq(self):
......
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