Commit a7359d91 authored by David Knowles's avatar David Knowles Committed by Iustin Pop
Browse files

TempReservationManager: Reserved() doesn't work



Note: It appears this has been around since the initial checkin of
TemporaryReservationManager. I have no idea what this could break, so
someone else may want to test this more thoroughly.
Signed-off-by: default avatarDavid Knowles <dknowles@google.com>
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 1809bde5
......@@ -81,7 +81,7 @@ class TemporaryReservationManager:
self._ec_reserved = {}
def Reserved(self, resource):
for holder_reserved in self._ec_reserved.items():
for holder_reserved in self._ec_reserved.values():
if resource in holder_reserved:
return True
return False
......
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