From 965e5e01c63b7095bc47faec5c7937fad2bc6a45 Mon Sep 17 00:00:00 2001 From: Maciej Grela Date: Tue, 3 Sep 2024 12:04:39 +0200 Subject: [PATCH] remote/coordinator: Fix typo to allow for reservations matching multiple tags Signed-off-by: Maciej Grela --- labgrid/remote/coordinator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labgrid/remote/coordinator.py b/labgrid/remote/coordinator.py index 97ed16d26..930f3306c 100644 --- a/labgrid/remote/coordinator.py +++ b/labgrid/remote/coordinator.py @@ -922,7 +922,7 @@ async def CreateReservation(self, request: labgrid_coordinator_pb2.CreateReserva await context.abort(grpc.StatusCode.INVALID_ARGUMENT, f"Key {k} is invalid") if not TAG_VAL.match(v): await context.abort(grpc.StatusCode.INVALID_ARGUMENT, f"Value {v} is invalid") - fltr[k] = v + fltr[k] = v owner = self.clients[peer].name res = Reservation(owner=owner, prio=request.prio, filters=fltrs)