Skip to content

Commit

Permalink
Skip unknown owners in TouchShuffles
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuckal777 committed Apr 20, 2022
1 parent c00a7b3 commit 377c173
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ func TouchShuffles(ctx context.Context, k8sClient client.Client, node *v1.Node,
return err
}
labels = makeLabels(owner, currentProfile)
default:
continue
}
shuffleCount.With(labels).Add(0)
shufflesPerReplica.With(labels).Add(0)
Expand Down

0 comments on commit 377c173

Please sign in to comment.