Skip to content
Snippets Groups Projects
Commit c6a2c16e authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

locking: Remove unused OldStyleQueryLocks


No longer used after commit 09037780.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 2ac41278
No related branches found
No related tags found
No related merge requests found
...@@ -1527,14 +1527,6 @@ class GanetiLockManager: ...@@ -1527,14 +1527,6 @@ class GanetiLockManager:
""" """
return self._monitor.QueryLocks(fields) return self._monitor.QueryLocks(fields)
def OldStyleQueryLocks(self, fields):
"""Queries information from all locks, returning old-style data.
See L{LockMonitor.OldStyleQueryLocks}.
"""
return self._monitor.OldStyleQueryLocks(fields)
def _names(self, level): def _names(self, level):
"""List the lock names at the given level. """List the lock names at the given level.
...@@ -1808,14 +1800,3 @@ class LockMonitor(object): ...@@ -1808,14 +1800,3 @@ class LockMonitor(object):
# Prepare query response # Prepare query response
return query.GetQueryResponse(qobj, ctx) return query.GetQueryResponse(qobj, ctx)
def OldStyleQueryLocks(self, fields):
"""Queries information from all locks, returning old-style data.
@type fields: list of strings
@param fields: List of fields to return
"""
(qobj, ctx) = self._Query(fields)
return qobj.OldStyleQuery(ctx)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment