Skip to content

Commit

Permalink
Fix user conf resuource are not being applied close apache#5040
Browse files Browse the repository at this point in the history
  • Loading branch information
peacewong committed Dec 16, 2023
1 parent 14e118a commit 6b1e8fb
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,11 @@ public static Resource getUserConfiguredResource(
UserCreatorLabel userCreatorLabel,
EngineTypeLabel engineTypeLabel) {
try {
Map<UserCreatorLabel, EngineTypeLabel> labelTuple =
new HashMap<UserCreatorLabel, EngineTypeLabel>();
labelTuple.put(userCreatorLabel, engineTypeLabel);
Resource userCreatorAvailableResource =
generateResource(
resourceType,
engineMapCache.getCacheMap(
buildRequestLabel(
userCreatorLabel.getUser(),
userCreatorLabel.getCreator(),
engineTypeLabel.getEngineType())));
generateResource(resourceType, engineMapCache.getCacheMap(labelTuple));
logger.info(
userCreatorLabel.getUser()
+ "on creator "
Expand Down

0 comments on commit 6b1e8fb

Please sign in to comment.