Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsEventError (0.05 sec)

  1. cmd/bucket-notification-handlers.go

    	}
    
    	config, err := event.ParseConfig(io.LimitReader(r.Body, r.ContentLength), globalSite.Region(), globalEventNotifier.targetList)
    	if err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedXML)
    		if event.IsEventError(err) {
    			apiErr = toAPIError(ctx, err)
    		}
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    
    	configData, err := xml.Marshal(config)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top