Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for writeErrorResponseJSON (0.25 sec)

  1. cmd/admin-handlers-users.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	data, err := json.Marshal(allCredentials)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	econfigData, err := madmin.EncryptData(password, data)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    Registered: 2024-06-16 00:44
    - Last Modified: 2024-05-28 17:19
    - 78.6K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    	if err := objectAPI.Walk(ctx, minioMetaBucket, batchJobPrefix, resultCh, WalkOptions{}); err != nil {
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	listResult := madmin.ListBatchJobsResult{}
    	for result := range resultCh {
    		if result.Err != nil {
    			writeErrorResponseJSON(ctx, w, toAPIError(ctx, result.Err), r.URL)
    			return
    		}
    		req := &BatchJobRequest{}
    Registered: 2024-06-16 00:44
    - Last Modified: 2024-06-11 03:13
    - 56K bytes
    - Viewed (0)
Back to top