mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 22:53:22 +00:00
fix parsing error on labels
Change-Id: I990967b93b10dbfa9a564ca4286ffbd051c69697
This commit is contained in:
@@ -494,7 +494,13 @@ func Register(collectors ...metrics.StableCollector) {
|
||||
return 0
|
||||
},
|
||||
))
|
||||
|
||||
_ = metrics.Labels{
|
||||
"probe_type": "1",
|
||||
"container": "2",
|
||||
"pod": "podName",
|
||||
"namespace": "space",
|
||||
"pod_uid": "123",
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user