Skip to content

Commit

Permalink
Merge pull request #6745 from alejandrogarcia83/update-burningman-aco…
Browse files Browse the repository at this point in the history
…unting-store

Use new burningman accounting file from full accounting node
  • Loading branch information
alejandrogarcia83 authored Jun 30, 2023
2 parents da9caf5 + 0c3e5a8 commit 3d573a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
@Slf4j
@Singleton
public class BurningManAccountingStoreService extends StoreService<BurningManAccountingStore> {
private static final String FILE_NAME = "BurningManAccountingStore_v2";
private static final String FILE_NAME = "BurningManAccountingStore_v3";

@Inject
public BurningManAccountingStoreService(ResourceDataStoreService resourceDataStoreService,
Expand All @@ -66,6 +66,7 @@ protected void readFromResources(String postFix, Runnable completeHandler) {
try {
// Delete old BurningManAccountingStore file which was missing some data.
FileUtil.deleteFileIfExists(Path.of(absolutePathOfStorageDir, "BurningManAccountingStore").toFile());
FileUtil.deleteFileIfExists(Path.of(absolutePathOfStorageDir, "BurningManAccountingStore_v2").toFile());
} catch (IOException e) {
throw new RuntimeException(e);
}
Expand Down
Binary file not shown.

0 comments on commit 3d573a9

Please sign in to comment.