Skip to content

Commit

Permalink
Delete unchange
Browse files Browse the repository at this point in the history
Signed-off-by: Lan Liang <gcslyp@gmail.com>
  • Loading branch information
liangyuanpeng committed Oct 18, 2022
1 parent bb4c9ff commit 85c7555
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion internal/store/networkpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ func networkPolicyMetricFamilies(allowAnnotationsList, allowLabelsList []string)
metric.Gauge,
"",
wrapNetworkPolicyFunc(func(n *networkingv1.NetworkPolicy) *metric.Family {

return &metric.Family{
Metrics: []*metric.Metric{
{
Expand Down
1 change: 0 additions & 1 deletion internal/store/pod_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,6 @@ func TestPodStore(t *testing.T) {
# TYPE kube_pod_status_ready gauge
# TYPE kube_pod_status_ready_time gauge
kube_pod_status_ready_time{namespace="ns1",pod="pod1",uid="uid1"} 1.501666018e+09
kube_pod_status_ready{condition="false",namespace="ns1",pod="pod1",uid="uid1"} 0
kube_pod_status_ready{condition="true",namespace="ns1",pod="pod1",uid="uid1"} 1
kube_pod_status_ready{condition="unknown",namespace="ns1",pod="pod1",uid="uid1"} 0
Expand Down

0 comments on commit 85c7555

Please sign in to comment.