]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Show warning when replicated size is 1 37523/head
authorSebastian Krah <skrah@suse.com>
Fri, 2 Oct 2020 09:07:40 +0000 (11:07 +0200)
committerSebastian Krah <skrah@suse.com>
Fri, 2 Oct 2020 11:16:52 +0000 (13:16 +0200)
commitaf1a7dbfe2b0e2e40650d64d4c3247f4961743c2
tree52fcb2e7302ce9d544a90c1cd63c4da2eb193f29
parent87f23d0350aa6bda347368c125196c9a24c29826
mgr/dashboard: Show warning when replicated size is 1

Issues a warning when creating a replicated pool and the replicated size
is 1. It won't stop the user from creating the pool, but will give the
user a hint that no replication will be created.

Fixes: https://tracker.ceph.com/issues/42404
Signed-off-by: Sebastian Krah <skrah@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/styles/defaults/_bootstrap-defaults.scss