Skip to content

Commit

Permalink
ix for issue with Registry Resource Value Updates through REST API Calls
Browse files Browse the repository at this point in the history
  • Loading branch information
AmilaSamith committed Aug 12, 2024
1 parent 3e4abd9 commit c353fab
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ public Object getResource(Entry entry, Properties properties) {
log.debug("Cached object has expired for key : " + entry.getKey());
}
re = getRegistryEntry(entry.getKey());
// reload the properties since the cache is expired
entry.setEntryProperties(getResourceProperties(entry.getKey()));

if (re.getVersion() != Long.MIN_VALUE &&
re.getVersion() == entry.getVersion()) {
Expand Down

0 comments on commit c353fab

Please sign in to comment.