mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Fix Upgradetool does not remember last executed step (#3621)
Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
@@ -123,6 +123,7 @@ public class Upgrader {
|
||||
|
||||
metadataStorage.flush();
|
||||
upgradeRecords.put(ITEM_COPY_UNIT_TO_METADATA, new UpgradeRecord(ZonedDateTime.now()));
|
||||
upgradeRecords.flush();
|
||||
}
|
||||
|
||||
public void linkUpgradeJsProfile() {
|
||||
@@ -162,6 +163,7 @@ public class Upgrader {
|
||||
|
||||
linkStorage.flush();
|
||||
upgradeRecords.put(LINK_UPGRADE_JS_PROFILE, new UpgradeRecord(ZonedDateTime.now()));
|
||||
upgradeRecords.flush();
|
||||
}
|
||||
|
||||
private static class UpgradeRecord {
|
||||
|
||||
Reference in New Issue
Block a user