]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Show warning when replicated size is 1 37578/head
authorSebastian Krah <skrah@suse.com>
Fri, 2 Oct 2020 09:07:40 +0000 (11:07 +0200)
committerLaura Paduano <lpaduano@suse.com>
Tue, 20 Oct 2020 06:48:49 +0000 (08:48 +0200)
commit851698213b1797a0e678f770489c718037b3f830
treefcbf8e770fe63d8d550f2492f1ebd8fe10d7bafc
parent4819e7280dd64d9f2d54359067056fe0e342c10d
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>
(cherry picked from commit af1a7dbfe2b0e2e40650d64d4c3247f4961743c2)

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/styles/defaults/_bootstrap-defaults.scss
- The file does not exist in octopus, moving a slightly changed version of the diff
  to src/pybind/mgr/dashboard/frontend/src/styles.scss instead
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.scss