Fix bug 1604 - Adding fs.sync() at startup 71/11071/1 v9.0 v9.1.4 v9.1.5
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:24:21 +0000 (15:24 +0200)
Change-Id: I9931b0c87923ade9cae36b59c8a2cab939c3bb93
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
osm_lcm/lcm.py

index 6c8be98..1f9f3c9 100644 (file)
@@ -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()