Skip to content

Commit 42a8650

Browse files
committed
[tmp] work with 1.14
1 parent b2a161c commit 42a8650

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pkg/leaderelection/leader_election.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ func NewResourceLock(config *rest.Config, recorderProvider recorder.Provider, op
8484
options.LeaderElectionNamespace,
8585
options.LeaderElectionID,
8686
client.CoreV1(),
87+
client.CoordinationV1(),
8788
resourcelock.ResourceLockConfig{
8889
Identity: id,
8990
EventRecorder: recorderProvider.GetEventRecorderFor(id),

pkg/metrics/client_go_adapter.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ func registerWorkqueueMetrics() {
198198
Registry.MustRegister(longestRunning)
199199
Registry.MustRegister(unfinishedWork)
200200

201-
workqueuemetrics.SetProvider(workqueueMetricsProvider{})
201+
// TODO: fix this before push
202+
//workqueuemetrics.SetProvider(workqueueMetricsProvider{})
202203
}
203204

204205
// this section contains adapters, implementations, and other sundry organic, artisinally

0 commit comments

Comments
 (0)