Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetHttpCookie (0.1 sec)

  1. pkg/config/validation/validation.go

    	if settings == nil {
    		return
    	}
    
    	// simple load balancing is always valid
    	consistentHash := settings.GetConsistentHash()
    	if consistentHash != nil {
    		httpCookie := consistentHash.GetHttpCookie()
    		if httpCookie != nil && httpCookie.GetName() == "" {
    			errs = AppendValidation(errs, fmt.Errorf("name required for HttpCookie"))
    		}
    		if consistentHash.MinimumRingSize != 0 { // nolint: staticcheck
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top