Fix Run file capability negotiation

This commit is contained in:
npc0-hue
2026-08-25 23:16:02 +08:00
parent a90474f896
commit 3f493bb78c
2 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -611,7 +611,7 @@ func firstEligibleSupportedJob(jobs []domain.Job, capabilities []string, stamp t
if !eligible || !job.CancelRequestedAt.IsZero() {
continue
}
if len(capabilitySet) > 0 && !isServerFileCapability(job.Capability) {
if len(capabilitySet) > 0 {
if _, supported := capabilitySet[job.Capability]; !supported {
continue
}