mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 18:28:13 +00:00 
			
		
		
		
	Correcting all go vet errors
This commit is contained in:
		| @@ -39,8 +39,8 @@ import ( | ||||
| // NewFakeControllerExpectationsLookup creates a fake store for PodExpectations. | ||||
| func NewFakeControllerExpectationsLookup(ttl time.Duration) (*ControllerExpectations, *util.FakeClock) { | ||||
| 	fakeTime := time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC) | ||||
| 	fakeClock := &util.FakeClock{fakeTime} | ||||
| 	ttlPolicy := &cache.TTLPolicy{ttl, fakeClock} | ||||
| 	fakeClock := &util.FakeClock{Time: fakeTime} | ||||
| 	ttlPolicy := &cache.TTLPolicy{Ttl: ttl, Clock: fakeClock} | ||||
| 	ttlStore := cache.NewFakeExpirationStore( | ||||
| 		ExpKeyFunc, nil, ttlPolicy, fakeClock) | ||||
| 	return &ControllerExpectations{ttlStore}, fakeClock | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kris Rousey
					Kris Rousey