Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for validateII (0.2 sec)

  1. cmd/object-handlers.go

    	if err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedXML)
    		apiErr.Description = err.Error()
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    	// validate the request
    	if err := rreq.validate(ctx, objectAPI); err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedXML)
    		apiErr.Description = err.Error()
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/accesslog_test.go

    			m.AccessLogFormat = tc.format
    			listeners := buildListeners(t, TestOptions{MeshConfig: m}, nil)
    			if len(listeners) != 2 {
    				t.Errorf("expected to have 2 listeners, but got %v", len(listeners))
    			}
    			// Validate that access log filter uses the new format.
    			for _, l := range listeners {
    				if l.AccessLog[0].Filter == nil {
    					t.Fatal("expected filter config in listener access log configuration")
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    	if errCode != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(errCode), r.URL)
    		return
    	}
    
    	if len(fanOutEntries) > 0 {
    		// Once signature is validated, check if the user has
    		// explicit permissions for the user.
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  4. cmd/object-multipart-handlers.go

    		return
    	}
    
    	// Check if bucket encryption is enabled
    	sseConfig, _ := globalBucketSSEConfigSys.Get(bucket)
    	sseConfig.Apply(r.Header, sse.ApplyOptions{
    		AutoEncrypt: globalAutoEncryption,
    	})
    
    	// Validate storage class metadata if present
    	if sc := r.Header.Get(xhttp.AmzStorageClass); sc != "" {
    		if !storageclass.IsValid(sc) {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidStorageClass), r.URL)
    			return
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_test.go

    		// * a transition to the Unknown state. Prior to this fix, a container would make an invalid transition
    		// * from Running->Waiting. This test validates the correct behavior of transitioning from Running->Terminated.
    		{
    			containers: []v1.Container{{Name: "unknown"}},
    			statuses: []*kubecontainer.Status{
    				{
    					Name:  "unknown",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet.go

    	oneTimeInitializer sync.Once
    
    	// If set, use this IP address or addresses for the node
    	nodeIPs []net.IP
    
    	// use this function to validate the kubelet nodeIP
    	nodeIPValidator func(net.IP) error
    
    	// If non-nil, this is a unique identifier for the node in an external database, eg. cloudprovider
    	providerID string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    app = FastAPI()
    
    @app.get("/items/invalidnone", response_model=Union[Item, None])
    def get_invalid_none():
        return None
    ```
    
    This way the data will be correctly validated, you won't have an internal server error, and the documentation will also reflect that this *path operation* could return `None` (or `null` in JSON).
    
    ### Fixes
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:37 UTC 2024
    - 395.4K bytes
    - Viewed (0)
Back to top