go.mod: update kubernetes to v1.22.0
This brings in some cri api changes for cgroups, Windows pod sandbox security context changes and some new fields for the Windows version of a privileged container. This also unfortunately bumps the prometheus client, grpc middleware, bolt and klog :( Signed-off-by: Daniel Canter <dcanter@microsoft.com>
This commit is contained in:
		
							
								
								
									
										8
									
								
								vendor/k8s.io/client-go/util/workqueue/queue.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								vendor/k8s.io/client-go/util/workqueue/queue.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -55,7 +55,13 @@ func newQueue(c clock.Clock, metrics queueMetrics, updatePeriod time.Duration) * | ||||
| 		metrics:                    metrics, | ||||
| 		unfinishedWorkUpdatePeriod: updatePeriod, | ||||
| 	} | ||||
| 	go t.updateUnfinishedWorkLoop() | ||||
|  | ||||
| 	// Don't start the goroutine for a type of noMetrics so we don't consume | ||||
| 	// resources unnecessarily | ||||
| 	if _, ok := metrics.(noMetrics); !ok { | ||||
| 		go t.updateUnfinishedWorkLoop() | ||||
| 	} | ||||
|  | ||||
| 	return t | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Canter
					Daniel Canter