Skip to content

Commit 86047f0

Browse files
authored
Merge pull request ceph#51923 from kamoltat/wip-ksirivad-fix-61570
pybind/mgr/pg_autoscaler: fix warn when not too few pgs Reviewed-by: Laura Flores <lflores@redhat.com>
2 parents 7e2c94f + bfef567 commit 86047f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pybind/mgr/pg_autoscaler/module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ def _maybe_adjust(self,
742742
p['pg_num_final'])
743743
if p['pg_num_final'] > p['pg_num_target']:
744744
too_few.append(msg)
745-
else:
745+
elif p['pg_num_final'] < p['pg_num_target']:
746746
too_many.append(msg)
747747
if not p['would_adjust']:
748748
continue

0 commit comments

Comments
 (0)