mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
remove unused const in node-controller.go
This commit is contained in:
parent
6cfd7beb86
commit
cbfe654a30
@ -57,14 +57,6 @@ type CloudNodeController struct {
|
|||||||
nodeStatusUpdateFrequency time.Duration
|
nodeStatusUpdateFrequency time.Duration
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
|
||||||
// nodeStatusUpdateRetry controls the number of retries of writing NodeStatus update.
|
|
||||||
nodeStatusUpdateRetry = 5
|
|
||||||
|
|
||||||
// The amount of time the nodecontroller should sleep between retrying NodeStatus updates
|
|
||||||
retrySleepTime = 20 * time.Millisecond
|
|
||||||
)
|
|
||||||
|
|
||||||
// NewCloudNodeController creates a CloudNodeController object
|
// NewCloudNodeController creates a CloudNodeController object
|
||||||
func NewCloudNodeController(
|
func NewCloudNodeController(
|
||||||
nodeInformer coreinformers.NodeInformer,
|
nodeInformer coreinformers.NodeInformer,
|
||||||
|
Loading…
Reference in New Issue
Block a user