Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for statusesNoTrace (0.38 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/httplog/httplog.go

    // for any status *not* in the given list.
    func StatusIsNot(statuses ...int) StacktracePred {
    	statusesNoTrace := map[int]bool{}
    	for _, s := range statuses {
    		statusesNoTrace[s] = true
    	}
    	return func(status int) bool {
    		_, ok := statusesNoTrace[status]
    		return !ok
    	}
    }
    
    // Addf adds additional data to be logged with this request.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 10:10:35 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top