Преглед изворни кода

fixed reversed min max values

raducc пре 9 година
родитељ
комит
66e30ff920
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      celery/worker/control.py

+ 1 - 1
celery/worker/control.py

@@ -333,7 +333,7 @@ def autoscale(state, max=None, min=None):
     autoscaler = state.consumer.controller.autoscaler
     autoscaler = state.consumer.controller.autoscaler
     if autoscaler:
     if autoscaler:
         max_, min_ = autoscaler.update(max, min)
         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')
     raise ValueError('Autoscale not enabled')