]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: Crush rule is only send during replicated pool creation
authorStephan Müller <smueller@suse.com>
Mon, 2 Mar 2020 11:26:48 +0000 (12:26 +0100)
committerStephan Müller <smueller@suse.com>
Mon, 9 Mar 2020 11:35:58 +0000 (12:35 +0100)
commit9addcfcff93df58273e38f39d9b1f5cbaf1e78de
tree2b846b8d37f7c7e938097f02dbdc2b443ba480c4
parentd75e0b7a18d50d5cb4a190c0dca806332ab3efe1
mgr/dashboard: Crush rule is only send during replicated pool creation

The problem was that the crush rule setting was send during the creation
of a pool - the type didn't matter, but the setting is only used if a
replicated pool is created. This hasn't created any problems yet, but to
prevent that it's now omitted for erasure code pool creations.

Fixes: https://tracker.ceph.com/issues/44371
Signed-off-by: Stephan Müller <smueller@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.ts