]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: change the readFile to readFileSync 44956/head
authorNizamudeen A <nia@redhat.com>
Wed, 9 Feb 2022 15:36:16 +0000 (21:06 +0530)
committerNizamudeen A <nia@redhat.com>
Wed, 9 Feb 2022 16:38:09 +0000 (22:08 +0530)
commitcbfdd551d9c1e67c2757056ac1119c058f4aa704
tree1fb9095e8c39b480eddec5f372980342dd68f7c4
parente883dc3b8274f8cc02cc3a46224cdbf14dd00c74
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>
src/pybind/mgr/dashboard/frontend/applitools.config.js