]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: change the readFile to readFileSync
authorNizamudeen A <nia@redhat.com>
Wed, 9 Feb 2022 15:36:16 +0000 (21:06 +0530)
committerErnesto Puerta <epuertat@redhat.com>
Wed, 9 Feb 2022 19:53:27 +0000 (20:53 +0100)
commit3b0a397883821229366b2b0f4711b335273eb277
tree50ec48d03fbaa8a3eefec50cc2c45890fc2f544f
parentc4f403a75db9da9e082be1041e11ca60cff817e4
mgr/dashboard: change the readFile to readFileSync

Apparently the readFile i added in #44934 is async and that's not what
we want. so changing it to the synchronous call that is readFileSync

Fixes: https://tracker.ceph.com/issues/54190
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit cbfdd551d9c1e67c2757056ac1119c058f4aa704)
src/pybind/mgr/dashboard/frontend/applitools.config.js