Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
440d0862
Unverified
Commit
440d0862
authored
Apr 16, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Apr 16, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #76257 from johscheuer/remove-unused-nodeipam-code
Remove empty metrics.go file and method call
parents
99e61466
80d6b046
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
27 deletions
+0
-27
BUILD
pkg/controller/nodeipam/BUILD
+0
-1
metrics.go
pkg/controller/nodeipam/metrics.go
+0
-21
node_ipam_controller.go
pkg/controller/nodeipam/node_ipam_controller.go
+0
-5
No files found.
pkg/controller/nodeipam/BUILD
View file @
440d0862
...
@@ -26,7 +26,6 @@ go_library(
...
@@ -26,7 +26,6 @@ go_library(
name = "go_default_library",
name = "go_default_library",
srcs = [
srcs = [
"doc.go",
"doc.go",
"metrics.go",
"node_ipam_controller.go",
"node_ipam_controller.go",
],
],
importpath = "k8s.io/kubernetes/pkg/controller/nodeipam",
importpath = "k8s.io/kubernetes/pkg/controller/nodeipam",
...
...
pkg/controller/nodeipam/metrics.go
deleted
100644 → 0
View file @
99e61466
/*
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
nodeipam
// Register the metrics that are to be monitored.
func
Register
()
{
}
pkg/controller/nodeipam/node_ipam_controller.go
View file @
440d0862
...
@@ -39,11 +39,6 @@ import (
...
@@ -39,11 +39,6 @@ import (
"k8s.io/kubernetes/pkg/util/metrics"
"k8s.io/kubernetes/pkg/util/metrics"
)
)
func
init
()
{
// Register prometheus metrics
Register
()
}
const
(
const
(
// ipamResyncInterval is the amount of time between when the cloud and node
// ipamResyncInterval is the amount of time between when the cloud and node
// CIDR range assignments are synchronized.
// CIDR range assignments are synchronized.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment