From: sousaedu Date: Mon, 26 Jul 2021 13:24:21 +0000 (+0200) Subject: Fix bug 1606 - Adding fs.sync() at startup X-Git-Tag: release-v11.0-start~4 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=40365e81b483a1670ae2bd13f1b0b284e4b1af87;p=osm%2FLCM.git Fix bug 1606 - Adding fs.sync() at startup Change-Id: I9931b0c87923ade9cae36b59c8a2cab939c3bb93 Signed-off-by: sousaedu --- diff --git a/osm_lcm/lcm.py b/osm_lcm/lcm.py index 851ba09..6202b32 100644 --- a/osm_lcm/lcm.py +++ b/osm_lcm/lcm.py @@ -185,6 +185,7 @@ class Lcm: self.db = Database(config).instance.db self.fs = Filesystem(config).instance.fs + self.fs.sync() # copy message configuration in order to remove 'group_id' for msg_admin config_message = config["message"].copy()