mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Remove empty metrics.go file and method call
Update bazel code file
This commit is contained in:
		@@ -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",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,21 +0,0 @@
 | 
				
			|||||||
/*
 | 
					 | 
				
			||||||
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() {
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@@ -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.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user