Procházet zdrojové kódy

fixed reversed min max values

raducc před 9 roky
rodič
revize
089469843b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      celery/worker/control.py

+ 1 - 1
celery/worker/control.py

@@ -340,7 +340,7 @@ def autoscale(state, max=None, min=None):
     autoscaler = state.consumer.controller.autoscaler
     if autoscaler:
         max_, min_ = autoscaler.update(max, min)
-        return ok('autoscale now min={0} max={1}'.format(max_, min_))
+        return ok('autoscale now max={0} min={1}'.format(max_, min_))
     raise ValueError('Autoscale not enabled')