Skip to content

Commit

Permalink
remove unneeded comment
Browse files Browse the repository at this point in the history
  • Loading branch information
njtran committed Dec 5, 2023
1 parent 81a79e8 commit 159eb96
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/controllers/metrics/node/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ func getNodeLabels(node *v1.Node, resourceTypeName string) prometheus.Labels {

func getWellKnownLabels() map[string]string {
labels := make(map[string]string)
// TODO @joinnis: Remove v1alpha5 well-known labels in favor of only v1beta1 well-known labels after v1alpha5 is dropped
for wellKnownLabel := range v1beta1.WellKnownLabels {
if parts := strings.Split(wellKnownLabel, "/"); len(parts) == 2 {
label := parts[1]
Expand Down

0 comments on commit 159eb96

Please sign in to comment.