Fix a bad query in LeaseQuery
Summary: Fixes T3610. This got un-scoped at some point, and is only used in Drydock so it escaped notice. Test Plan: Ran `bin/drydock lease --type host` without hitting an exception about incorrect query construction. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T3610 Differential Revision: https://secure.phabricator.com/D6552
This commit is contained in:
@@ -139,7 +139,7 @@ final class PhabricatorWorkerLeaseQuery extends PhabricatorQuery {
|
|||||||
if ($this->ids) {
|
if ($this->ids) {
|
||||||
$where[] = qsprintf(
|
$where[] = qsprintf(
|
||||||
$conn_w,
|
$conn_w,
|
||||||
'task.id IN (%Ld)',
|
'id IN (%Ld)',
|
||||||
$this->ids);
|
$this->ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user