]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fixes type error in RBD form 21681/head
authorStephan Müller <smueller@suse.com>
Thu, 26 Apr 2018 13:24:15 +0000 (15:24 +0200)
committerStephan Müller <smueller@suse.com>
Thu, 26 Apr 2018 15:45:48 +0000 (17:45 +0200)
commit1d06a04f72e89c88da0c67e0ffcc0383dc1d6d7f
tree722f70da8342465cf8b3ed44e34a47b8bb8a34a7
parent7aa568923bef1530c16a48c51f42cbee52b8d680
mgr/dashboard: Fixes type error in RBD form

The form validation function wasn't a 'ValidatorFn' because it didn't
return something, now it's returning null in order to be valid for
type checking engines that also type check functions that are returned
by other functions.

Signed-off-by: Stephan Müller <smueller@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.ts