mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 09:00:26 +00:00
Fix possible provider NPE
This commit is contained in:
parent
9f27f0837d
commit
1c791160c7
1 changed files with 1 additions and 0 deletions
|
@ -452,6 +452,7 @@ public class DataStoreEntry extends StorageElement {
|
||||||
|
|
||||||
this.store = store;
|
this.store = store;
|
||||||
this.storeNode = JacksonMapper.getDefault().valueToTree(store);
|
this.storeNode = JacksonMapper.getDefault().valueToTree(store);
|
||||||
|
this.provider = DataStoreProviders.byStore(store);
|
||||||
if (updateTime) {
|
if (updateTime) {
|
||||||
lastModified = Instant.now();
|
lastModified = Instant.now();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue