Skip to content

Commit

Permalink
Update TagQueryManager.java
Browse files Browse the repository at this point in the history
  • Loading branch information
sahibamittal committed Apr 24, 2024
1 parent fef5243 commit 75d9e81
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ public PaginatedResult getTags(String policyUuid) {
* @return List of resolved Tags
*/
public synchronized List<Tag> resolveTags(final List<Tag> tags) {
if (tags == null) {
return new ArrayList<>();
}
List<String> tagNames = tags.stream().map(tag -> tag.getName()).toList();
return resolveTagsByName(tagNames);
}
Expand Down

0 comments on commit 75d9e81

Please sign in to comment.