Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for IGNORE (0.17 sec)

  1. cmd/common-main.go

    	// relative to /run/secrets/ position.
    	if isFile(pathJoin("/run/secrets/", sp)) {
    		sp = pathJoin("/run/secrets/", sp)
    	}
    	credBuf, err := os.ReadFile(sp)
    	if err != nil {
    		if os.IsNotExist(err) { // ignore if file doesn't exist.
    			return "", nil
    		}
    		return "", err
    	}
    	return string(bytes.TrimSpace(credBuf)), nil
    }
    
    func loadEnvVarsFromFiles() {
    	if env.IsSet(config.EnvAccessKeyFile) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  2. cmd/format-erasure.go

    	}
    
    	// Marshal and write to disk.
    	formatData, err := json.Marshal(format)
    	if err != nil {
    		return err
    	}
    
    	tmpFormat := mustGetUUID()
    
    	// Purge any existing temporary file, okay to ignore errors here.
    	defer disk.Delete(context.TODO(), minioMetaBucket, tmpFormat, DeleteOptions{
    		Recursive: false,
    		Immediate: false,
    	})
    
    	// write to unique file.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  3. cni/pkg/iptables/iptables.go

    	iptablesBuilder.AppendVersionedRule("127.0.0.1/32", "::1/128",
    		iptableslog.UndefinedCommand, ChainInpodPrerouting, iptablesconstants.MANGLE,
    		"!", "-d", iptablesconstants.IPVersionSpecific, // ignore traffic to localhost ip, as this rule means to catch traffic to pod ip.
    		"-p", iptablesconstants.TCP,
    		"-i", "lo",
    		"-j", "ACCEPT")
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    //	    modify the user-agent.
    //
    //	Authorization:
    //
    //	    Is skipped for obvious reasons
    var ignoredHeaders = map[string]bool{
    	"Authorization": true,
    	"User-Agent":    true,
    }
    
    // Headers to ignore in streaming v4
    var ignoredStreamingHeaders = map[string]bool{
    	"Authorization": true,
    	"Content-Type":  true,
    	"Content-Md5":   true,
    	"User-Agent":    true,
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    		}
    		rw.Unlock()
    		if err == nil && fi.InlineData() {
    			break
    		}
    	}
    
    	if err != nil {
    		// We can only look for dangling if we received all the responses, if we did
    		// not we simply ignore it, since we can't tell for sure if its dangling object.
    		if totalResp == er.setDriveCount && shouldCheckForDangling(err, errs, bucket) {
    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)
  6. cmd/erasure-server-pool.go

    			z.DeleteBucket(context.Background(), bucket, DeleteBucketOptions{
    				NoLock:     true,
    				NoRecreate: true,
    			})
    		}
    		return err
    	}
    
    	// If it doesn't exist we get a new, so ignore errors
    	meta := newBucketMetadata(bucket)
    	meta.SetCreatedAt(opts.CreatedAt)
    	if opts.LockEnabled {
    		meta.VersioningConfigXML = enabledBucketVersioningConfig
    		meta.ObjectLockConfigXML = enabledBucketObjectLockConfig
    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. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidFileHeaderInfo: {
    		Code:           "InvalidFileHeaderInfo",
    		Description:    "The FileHeaderInfo is invalid. Only NONE, USE, and IGNORE are supported.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidJSONType: {
    		Code:           "InvalidJsonType",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  8. internal/logger/logger.go

    func LogIfNot(ctx context.Context, subsystem string, err error, ignored ...error) {
    	if logIgnoreError(err) {
    		return
    	}
    	for _, ignore := range ignored {
    		if errors.Is(err, ignore) {
    			return
    		}
    	}
    	logIf(ctx, subsystem, err)
    }
    
    func errToEntry(ctx context.Context, subsystem string, err error, errKind ...interface{}) log.Entry {
    	var l string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    		if cancel {
    			canceler()
    		}
    	}
    	delete(j.jobCancelers, jobID)
    	return nil
    }
    
    //msgp:ignore batchJobMetrics
    type batchJobMetrics struct {
    	sync.RWMutex
    	metrics map[string]*batchJobInfo
    }
    
    //msgp:ignore batchJobMetric
    //go:generate stringer -type=batchJobMetric -trimprefix=batchJobMetric $GOFILE
    type batchJobMetric uint8
    
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/informers.go

    			log.Debugf("Pod %s no longer matches, removing from mesh", newPod.Name)
    			err := s.dataplane.RemovePodFromMesh(s.ctx, pod)
    			log.Debugf("RemovePodFromMesh(%s) returned %v", newPod.Name, err)
    			// we ignore errors here as we don't want this event to be retried by the queue.
    		} else {
    			// If oldpod != ready && newpod != ready, but the ambient annotation was added,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top