Skip to content

Commit

Permalink
mgr/dashboard: expect pg_num_max property for pools
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas committed Jan 3, 2022
1 parent 5945d84 commit 094d026
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pybind/mgr/dashboard/controllers/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
"expected_num_objects": (int, ""),
"fast_read": (bool, ""),
"options": ({
"pg_num_min": (int, "")
"pg_num_min": (int, ""),
"pg_num_max": (int, "")
}, ""),
"application_metadata": ([str], ""),
"create_time": (str, ""),
Expand Down
4 changes: 4 additions & 0 deletions src/pybind/mgr/dashboard/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6956,11 +6956,15 @@ paths:
options:
description: ''
properties:
pg_num_max:
description: ''
type: integer
pg_num_min:
description: ''
type: integer
required:
- pg_num_min
- pg_num_max
type: object
pg_autoscale_mode:
description: ''
Expand Down

0 comments on commit 094d026

Please sign in to comment.