From: sousaedu Date: Mon, 26 Jul 2021 13:24:21 +0000 (+0200) Subject: Fix bug 1604 - Adding fs.sync() at startup X-Git-Tag: v9.1.5 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=92e831e4eb91dbcd23874a09224e25adba325c44;p=osm%2FLCM.git Fix bug 1604 - 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 6c8be98c..1f9f3c9a 100644 --- a/osm_lcm/lcm.py +++ b/osm_lcm/lcm.py @@ -153,6 +153,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()