#156 allow hosts with no channels to take assigned tasks
Merged 7 years ago by mikem. Opened 7 years ago by mikem.
https://github.com/mikem23/koji-playground.git no-channels-assigned  into  master

allow hosts with no channels to take assigned tasks
Mike McLean • 7 years ago  
koji/daemon.py
file modified
+1 -1
@@ -763,7 +763,7 @@

              return False

          elif not bins:

              self.logger.info("No bins for this host. Missing channel/arch config?")

-             return False

+             # Note: we may still take an assigned task below

          #sort available capacities for each of our bins

          avail = {}

          for bin in bins.iterkeys():

no initial comment

Sometimes the fix is simple.
This particular check goes back to the initial code drop.

Pull-Request has been merged by mikem

7 years ago
Metadata