Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NoFileExists (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/audit_test.go

    			// Don't check writer if logging is disabled.
    			if w == nil {
    				return
    			}
    
    			if options.LogOptions.Path == "-" {
    				assert.Equal(t, os.Stdout, w)
    				assert.NoFileExists(t, options.LogOptions.Path)
    			} else {
    				assert.IsType(t, (*lumberjack.Logger)(nil), w)
    				assert.FileExists(t, options.LogOptions.Path)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 27 14:57:26 UTC 2022
    - 7.8K bytes
    - Viewed (0)
Back to top