Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for forceCreate (0.06 sec)

  1. cmd/object-api-interface_gen.go

    			z.VersioningEnabled, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "VersioningEnabled")
    				return
    			}
    		case "ForceCreate":
    			z.ForceCreate, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ForceCreate")
    				return
    			}
    		case "CreatedAt":
    			z.CreatedAt, bts, err = msgp.ReadTimeBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. cmd/peer-s3-server.go

    	for index := range localDrives {
    		index := index
    		g.Go(func() error {
    			if localDrives[index] == nil {
    				return errDiskNotFound
    			}
    			err := localDrives[index].MakeVol(ctx, bucket)
    			if opts.ForceCreate && errors.Is(err, errVolumeExists) {
    				// No need to return error when force create was
    				// requested.
    				return nil
    			}
    			return err
    		}, index)
    	}
    
    	errs := g.Wait()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top