Skip to content

Commit 80d6b04

Browse files
committed
Remove empty metrics.go file and method call
Update bazel code file
1 parent f873d2a commit 80d6b04

File tree

3 files changed

+0
-27
lines changed

3 files changed

+0
-27
lines changed

pkg/controller/nodeipam/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ go_library(
2626
name = "go_default_library",
2727
srcs = [
2828
"doc.go",
29-
"metrics.go",
3029
"node_ipam_controller.go",
3130
],
3231
importpath = "k8s.io/kubernetes/pkg/controller/nodeipam",

pkg/controller/nodeipam/metrics.go

Lines changed: 0 additions & 21 deletions
This file was deleted.

pkg/controller/nodeipam/node_ipam_controller.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ import (
3939
"k8s.io/kubernetes/pkg/util/metrics"
4040
)
4141

42-
func init() {
43-
// Register prometheus metrics
44-
Register()
45-
}
46-
4742
const (
4843
// ipamResyncInterval is the amount of time between when the cloud and node
4944
// CIDR range assignments are synchronized.

0 commit comments

Comments
 (0)