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