Commit a5aaa761 authored by Neil Williams's avatar Neil Williams Committed by Remi Duraffort
Browse files

Fix typo in ./share/ --hostname

Change-Id: I70c30c751b03ada31fcea48380b707002ea41c35
parent b247ccce
......@@ -965,7 +965,7 @@ class SchedulerAPI(ExposedAPI):
Q(is_pipeline=True) & ~Q(status=Device.RETIRED))
devices = Device.objects.filter(
Q(is_pipeline=True) & ~Q(status=Device.RETIRED & Q(hostname=hostname)))
Q(is_pipeline=True) & ~Q(status=Device.RETIRED) & Q(hostname=hostname))
if not devices and hostname:
raise xmlrpclib.Fault(
404, "No pipeline device found with hostname %s" % hostname
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