]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: change the readFile to readFileSync 44935/head
authorNizamudeen A <nia@redhat.com>
Wed, 9 Feb 2022 15:36:16 +0000 (21:06 +0530)
committerNizamudeen A <nia@redhat.com>
Thu, 10 Feb 2022 06:00:03 +0000 (11:30 +0530)
commita5ee21c10a868c8e91a6fd5e8240602e2b28dd25
treed25b689afd45d9baacdeb051da98e01760e48bf8
parent02d49bc0a887da8ddb2539081e06fb17fd18b7bd
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