Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for setErr (0.27 sec)

  1. cmd/peer-s3-server.go

    				if serr == errDiskNotFound {
    					beforeState[index] = madmin.DriveStateOffline
    					afterState[index] = madmin.DriveStateOffline
    					return serr
    				}
    				if serr != errVolumeNotFound {
    					beforeState[index] = madmin.DriveStateCorrupt
    					afterState[index] = madmin.DriveStateCorrupt
    					return serr
    				}
    
    				beforeState[index] = madmin.DriveStateMissing
    				afterState[index] = madmin.DriveStateMissing
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  2. internal/config/dns/etcd_dns.go

    	etcdClient, err := clientv3.New(cfg)
    	if err != nil {
    		return nil, err
    	}
    
    	args := &CoreDNS{
    		etcdClient: etcdClient,
    	}
    
    	for _, setter := range setters {
    		setter(args)
    	}
    
    	if len(args.domainNames) == 0 || args.domainIPs.IsEmpty() {
    		return nil, errors.New("invalid argument")
    	}
    
    	// strip ports off of domainIPs
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  3. cmd/erasure-multipart.go

    }
    
    // checkUploadIDExists - verify if a given uploadID exists and is valid.
    func (er erasureObjects) checkUploadIDExists(ctx context.Context, bucket, object, uploadID string, write bool) (fi FileInfo, metArr []FileInfo, err error) {
    	defer func() {
    		if errors.Is(err, errFileNotFound) {
    			err = errUploadIDNotFound
    		}
    	}()
    
    	uploadIDPath := er.getUploadIDDir(bucket, object, uploadID)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  4. internal/config/errors-utils.go

    	if errors.Is(err, syscall.EADDRINUSE) {
    		return ErrPortAlreadyInUse(err).Msg("Specified port is already in use")
    	} else if errors.Is(err, syscall.EACCES) || errors.Is(err, syscall.EPERM) {
    		if netErr, ok := err.(*net.OpError); ok {
    			return ErrPortAccess(netErr).Msg("Insufficient permissions to use specified port")
    		}
    	}
    
    	// Failed to identify what type of error this, return a simple UI error
    	return Err{msg: err.Error()}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. cmd/prepare-storage.go

    	// Check if we have
    	for i, sErr := range sErrs {
    		// print the error, nonetheless, which is perhaps unhandled
    		if !errors.Is(sErr, errUnformattedDisk) && !errors.Is(sErr, errDiskNotFound) && verboseLogging {
    			if sErr != nil {
    				logger.Error("Unable to read 'format.json' from %s: %v\n", endpoints[i], sErr)
    			}
    		}
    	}
    
    	// Pre-emptively check if one of the formatted disks
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top