Fix bug 1605 - Adding fs.sync() at startup 73/11073/1 v10.0.2
authorsousaedu <eduardo.sousa@canonical.com>
Mon, 26 Jul 2021 13:24:21 +0000 (15:24 +0200)
committersousaedu <eduardo.sousa@canonical.com>
Mon, 26 Jul 2021 13:28:45 +0000 (15:28 +0200)
Change-Id: I9931b0c87923ade9cae36b59c8a2cab939c3bb93
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
osm_lcm/lcm.py

index 851ba09..6202b32 100644 (file)
@@ -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()