Skip to content

Commit

Permalink
Merge pull request labgrid-project#1491 from enkiusz/devel/fix-reserv…
Browse files Browse the repository at this point in the history
…e-multiple-tags

remote/coordinator: Fix typo to allow for reservations matching multiple tags
  • Loading branch information
Emantor authored Sep 3, 2024
2 parents a9a74af + 965e5e0 commit f1b2bc3
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 f1b2bc3

Please sign in to comment.