Skip to content

Commit

Permalink
issue #237
Browse files Browse the repository at this point in the history
  • Loading branch information
wowasa committed Apr 24, 2024
1 parent aae2bb8 commit 2e22239
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class ProfileReportCache {
@Autowired
CMDProfileProcessor processor;

@Cacheable(value = "publicProfileReportCache", key = "#profile.schemaLocation", condition = "'instance'.equals(@apiConfig.getMode())")
@Cacheable(value = "publicProfileReportCache", key = "#profile.schemaLocation", condition = "!'instance'.equals(@apiConfig.getMode())")
public CMDProfileReport getProfileReport(CMDProfile profile) {

return processor.process(profile);
Expand Down

0 comments on commit 2e22239

Please sign in to comment.