Skip to content

Commit

Permalink
remote/coordinator: Fix typo to allow for reservations matching multi…
Browse files Browse the repository at this point in the history
…ple tags

Signed-off-by: Maciej Grela <m.grela@samsung.com>
  • Loading branch information
enkiusz committed Sep 3, 2024
1 parent a9a74af commit 965e5e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labgrid/remote/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 965e5e0

Please sign in to comment.