Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for nothing (0.19 sec)

  1. cmd/object-api-listobjects_test.go

    					}
    					for j := 0; j < len(testCase.resultL.Objects); j++ {
    						if j >= len(resultL.Objects) {
    							t.Errorf("Test %d: %s: Expected object name to be \"%s\", but not nothing instead", i+1, instanceType, testCase.resultL.Objects[j].Name)
    							continue
    						}
    						if testCase.resultL.Objects[j].Name != resultL.Objects[j].Name {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    	if err := store.loadIAMConfig(ctx, &iamFmt, path); err != nil && !errors.Is(err, errConfigNotFound) {
    		// if IAM format
    		return err
    	}
    
    	if iamFmt.Version >= iamFormatVersion1 {
    		// Nothing to do.
    		return nil
    	}
    
    	bootstrapTraceMsg("Write IAM format file")
    	// Save iam format to version 1.
    	return store.saveIAMConfig(ctx, newIAMFormatVersion1(), path)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. cmd/xl-storage.go

    		if dataDir != "" && (xlMeta.SharedDataDirCountStr(reqVID, dataDir) == 0) {
    			// Purge the destination path as we are not preserving anything
    			// versioned object was not requested.
    			res.OldDataDir = dataDir
    			if healing {
    				// if old destination path is same as new destination path
    				// there is nothing to purge, this is true in case of healing
    				// avoid setting OldDataDir at that point.
    				res.OldDataDir = ""
    			} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    func (er erasureObjects) restoreTransitionedObject(ctx context.Context, bucket string, object string, opts ObjectOptions) error {
    	setRestoreHeaderFn := func(oi ObjectInfo, rerr error) error {
    		if rerr == nil {
    			return nil // nothing to do; restore object was successful
    		}
    		er.updateRestoreMetadata(ctx, bucket, object, oi, opts)
    		return rerr
    	}
    	var oi ObjectInfo
    	// get the file info on disk for transitioned object
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  5. cmd/iam.go

    	// service account should inherit parent policy.
    	//
    	// However, for a policy like `{"Statement":[]}`, the intention is to not
    	// provide any permissions via the session policy - i.e. the service account
    	// can do nothing (such a JSON could be generated by an external application
    	// as the policy for the service account). Inheriting the parent policy in
    	// such a case, is a security issue. Ideally, we should not allow such
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  6. cmd/erasure-server-pool.go

    // unless all have that, in which case all are preserved.
    func (p serverPoolsAvailableSpace) FilterMaxUsed(max int) {
    	// We aren't modifying p, only entries in it, so we don't need to receive a pointer.
    	if len(p) <= 1 {
    		// Nothing to do.
    		return
    	}
    	var ok bool
    	for _, z := range p {
    		if z.Available > 0 && z.MaxUsedPct < max {
    			ok = true
    			break
    		}
    	}
    	if !ok {
    		// All above limit.
    		// Do not modify
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe.go

    		// If we matched, but printed nothing, treat this as the catch-all
    		if facts == 0 {
    			for _, mismatch := range mismatchNotes {
    				fmt.Fprintf(writer, "%s%s\n",
    					printSpaces(initPrintNum+printLevel2), mismatch)
    			}
    		}
    
    		return
    	}
    
    	if facts == 0 {
    		// We printed nothing other than the name.  Print something.
    		if len(vs.Spec.Http) > 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  8. tests/query_test.go

    		totalBatch += batch
    		return nil
    	}); result.Error == nil || result.RowsAffected > 0 {
    		t.Fatal("expected errors to have occurred, but nothing happened")
    	}
    	if totalBatch != 0 {
    		t.Fatalf("incorrect total batch, expected: %v, got: %v", 0, totalBatch)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    			n := &Name{Go: s, C: s}
    			names = append(names, n)
    			optional[n] = true
    		}
    
    		// Otherwise, we'll need to find out from gcc.
    		names = append(names, n)
    	}
    
    	// Bypass gcc if there's nothing left to find out.
    	if len(names) == 0 {
    		return needType
    	}
    
    	// Coerce gcc into telling us whether each name is a type, a value, or undeclared.
    	// For names, find out whether they are integer constants.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    				if globalDomainIPs.Difference(set.CreateStringSet(getHostsSlice(r)...)).IsEmpty() && !domainMissing {
    					// No difference in terms of domainIPs and nothing
    					// has changed so we don't change anything on the etcd.
    					//
    					// Additionally also check if domain is updated/missing with more
    					// entries, if that is the case we should update the
    					// new domain entries as well.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top