mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	@@ -277,5 +277,4 @@ linters-settings: # please keep this alphabetized
 | 
			
		||||
    enable-all: true
 | 
			
		||||
    disable:  # TODO: remove each disabled rule and fix it
 | 
			
		||||
      - float-compare
 | 
			
		||||
      - go-require
 | 
			
		||||
      - require-error
 | 
			
		||||
 
 | 
			
		||||
@@ -242,7 +242,6 @@ linters-settings: # please keep this alphabetized
 | 
			
		||||
    disable:  # TODO: remove each disabled rule and fix it
 | 
			
		||||
      {{- if .Base }}
 | 
			
		||||
      - float-compare
 | 
			
		||||
      - go-require
 | 
			
		||||
      {{- end}}
 | 
			
		||||
      - require-error
 | 
			
		||||
    {{- end}}
 | 
			
		||||
 
 | 
			
		||||
@@ -291,7 +291,7 @@ func TestInformerNeverStarts(t *testing.T) {
 | 
			
		||||
	go func() {
 | 
			
		||||
		defer wg.Done()
 | 
			
		||||
		stopReason := myController.Run(testContext)
 | 
			
		||||
		if !errors.Is(stopReason, context.Canceled) {
 | 
			
		||||
		if !errors.Is(stopReason, context.DeadlineExceeded) {
 | 
			
		||||
			t.Errorf("expected error to be context.Canceled, but got: %v", stopReason)
 | 
			
		||||
		}
 | 
			
		||||
	}()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user