]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: viewcache: remove VALUE_EXCEPTION
authorRicardo Dias <rdias@suse.com>
Mon, 26 Mar 2018 11:01:06 +0000 (12:01 +0100)
committerRicardo Dias <rdias@suse.com>
Fri, 13 Apr 2018 14:58:43 +0000 (15:58 +0100)
commit2df65be823245a8eb8f8e32d9d1818b8fb34e6ca
tree3cc32f59788b052facd1434116b2163ecfef8c50
parent8e821891ca4919ac02cf9ac2689581542602476b
mgr/dashboard: viewcache: remove VALUE_EXCEPTION

Instead of returning the exception object as a result of a function
decorated with `@ViewCache()`, raise the exception in the function
caller thread.

Signed-off-by: Ricardo Dias <rdias@suse.com>
src/pybind/mgr/dashboard/tools.py