Skip to content

Commit

Permalink
request expanded object when we expect a Map as return value
Browse files Browse the repository at this point in the history
  • Loading branch information
mcalmer committed Nov 20, 2023
1 parent 5480b0f commit 838abe3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion java/code/src/org/cobbler/CobblerObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ protected static List<Map<String, Object>> lookupDataMapsByCriteria(
Map<String, String> criteria = new HashMap<>();
criteria.put(critera, value);
return (List<Map<String, Object>>)
client.invokeTokenMethod(findMethod, criteria, false);
client.invokeTokenMethod(findMethod, criteria, true);


}

Expand Down

0 comments on commit 838abe3

Please sign in to comment.