Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for failed (0.22 sec)

  1. cmd/test-utils_test.go

    		t.Errorf("Test expected to return nil, failed instead got a non-nil value %s", toObjectErr(nil))
    	}
    	if toStorageErr(nil) != nil {
    		t.Errorf("Test expected to return nil, failed instead got a non-nil value %s", toStorageErr(nil))
    	}
    	ctx := context.Background()
    	if toAPIError(ctx, nil) != noError {
    		t.Errorf("Test expected error code to be ErrNone, failed instead provided %s", toAPIError(ctx, nil).Code)
    	}
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  2. tests/query_test.go

    	var err error
    	err = DB.Create(&q1).Error
    	if err != nil {
    		t.Errorf("failed to create:%v", err)
    	}
    
    	err = DB.Create(&q2).Error
    	if err != nil {
    		t.Errorf("failed to create:%v", err)
    	}
    
    	var qs []QueryResetNullValue
    	err = DB.Joins("Item1").Joins("Item2").Find(&qs).Error
    	if err != nil {
    		t.Errorf("failed to find:%v", err)
    	}
    
    	if len(qs) != 2 {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    		ri.Complete = ri.ObjectsFailed == 0
    		ri.Failed = ri.ObjectsFailed > 0
    
    		globalBatchJobsMetrics.save(job.ID, ri)
    		// persist in-memory state to disk.
    		batchLogIf(ctx, ri.updateAfter(ctx, api, 0, job))
    
    		if err := r.Notify(ctx, ri); err != nil {
    			batchLogIf(ctx, fmt.Errorf("unable to notify %v", err))
    		}
    
    		cancel()
    		if ri.Failed {
    			ri.ObjectsFailed = 0
    			ri.Bucket = ""
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                if (recursive) {
                    File basedir = pomFile.getParentFile();
                    List<File> moduleFiles = new ArrayList<>();
                    for (String module : model.getModules()) {
                        if (module == null || module.isEmpty()) {
                            continue;
                        }
    
                        module = module.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    		return
    	}
    	file := r.Form.Get("file")
    	if len(file) == 0 {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    	}
    
    	file = filepath.ToSlash(file)
    	// Reject attempts to traverse parent or absolute paths.
    	if hasBadPathComponent(volume) || hasBadPathComponent(file) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  6. cmd/api-errors.go

    		Code:           "CastFailed",
    		Description:    "Attempt to convert from one data type to another using CAST failed in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidCast: {
    		Code:           "InvalidCast",
    		Description:    "Attempt to convert from one data type to another using CAST failed in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 90.6K bytes
    - Viewed (6)
  7. cmd/xl-storage.go

    		return osErrToFileErr(err)
    	}
    
    	// Close the file descriptor.
    	defer file.Close()
    	fi, err := file.Stat()
    	if err != nil {
    		// Unable to stat on the file, return an expected error
    		// for healing code to fix this file.
    		return err
    	}
    	return bitrotVerify(diskHealthReader(ctx, file), fi.Size(), partSize, algo, sum, shardSize)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. istioctl/pkg/describe/describe.go

    	meshCfg, err := getMeshConfig(kubeClient, istioNamespace)
    	if err != nil {
    		return fmt.Errorf("failed to fetch mesh config: %v", err)
    	}
    
    	workloadPAList, err := configClient.SecurityV1beta1().PeerAuthentications(workloadNamespace).List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    		return fmt.Errorf("failed to fetch workload namespace PeerAuthentication: %v", err)
    	}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    		t.Fatalf("Unable to create a file \"as-file\", %s", err)
    	}
    	if err = xlStorage.AppendFile(context.Background(), "exists", "as-file-parent/xl.meta", xlMeta); err != nil {
    		t.Fatalf("Unable to create a file \"as-file-parent\", %s", err)
    	}
    	if err = xlStorage.MakeVol(context.Background(), "exists/as-file/"+fi.DataDir); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  10. cmd/peer-rest-server.go

    			grid.PutByteBuffer(buf.Bytes())
    			return nil
    		case ev := <-ch:
    			buf.Reset()
    			tmpEvt.Records[0] = ev
    			if err := enc.Encode(tmpEvt); err != nil {
    				peersLogOnceIf(ctx, err, "event: Encode failed")
    				continue
    			}
    			out <- grid.NewBytesWithCopyOf(buf.Bytes())
    		}
    	}
    }
    
    // TraceHandler sends http trace messages back to peer rest client
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
Back to top