Skip to content

Commit

Permalink
fix detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
kozjan committed Jun 21, 2024
1 parent a8b0761 commit 4ef2588
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,14 @@ internal class GroupChangeWatcher(
): Watch {
val oldGroups = cache.groups()

val watch = cache.createWatch(ads, request, knownResourceNames, responseConsumer, hasClusterChanged, allowDefaultEmptyEdsUpdate)
val watch = cache.createWatch(
ads,
request,
knownResourceNames,
responseConsumer,
hasClusterChanged,
allowDefaultEmptyEdsUpdate
)
val groups = cache.groups()
metrics.setCacheGroupsCount(groups.size)
if (oldGroups != groups) {
Expand Down

0 comments on commit 4ef2588

Please sign in to comment.