]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: Remove compression mode unset in pool from
authorStephan Müller <smueller@suse.com>
Mon, 4 Nov 2019 17:57:05 +0000 (18:57 +0100)
committerStephan Müller <smueller@suse.com>
Tue, 5 Nov 2019 09:50:06 +0000 (10:50 +0100)
commitdfb3ffc518f788c111f039bfc80c2d4a5251b2be
tree8893c9f11f03da731e9cb6f146ed3181ce3c9d95
parentcf2c39ec9d6168549cee6d3570ddb39373e804a1
mgr/dashboard: Remove compression mode unset in pool from

Somehow the compression mode "unset" was shown, but "unset" is only the
key that should be send to the backend in order to know that not
compression mode is selected ("none").

I also added some comments for better understanding.

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