Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,989 for error_1 (0.14 sec)

  1. internal/s3select/sql/evaluate.go

    package sql
    
    import (
    	"encoding/json"
    	"errors"
    	"fmt"
    	"math"
    	"strings"
    
    	"github.com/minio/minio/internal/s3select/jstream"
    	"github.com/minio/simdjson-go"
    )
    
    var (
    	errInvalidASTNode    = errors.New("invalid AST Node")
    	errExpectedBool      = errors.New("expected bool")
    	errLikeNonStrArg     = errors.New("LIKE clause requires string arguments")
    	errLikeInvalidEscape = errors.New("LIKE clause has invalid ESCAPE character")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. internal/config/api/api.go

    	default:
    		return cfg, fmt.Errorf("invalid value %v for list_quorum: will default to 'strict'", listQuorum)
    	}
    	cfg.ListQuorum = listQuorum
    
    	replicationPriority := env.Get(EnvAPIReplicationPriority, kvs.GetWithDefault(apiReplicationPriority, DefaultKVS))
    	switch replicationPriority {
    	case "slow", "fast", "auto":
    	default:
    		return cfg, fmt.Errorf("invalid value %v for replication_priority", replicationPriority)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. internal/bucket/object/lock/lock_test.go

    			}
    		} else if err == nil {
    			t.Fatalf("error: expected = %v, got = <nil>", tt.expectedErr)
    		} else if tt.expectedErr.Error() != err.Error() {
    			t.Fatalf("error: expected = %v, got = %v", tt.expectedErr, err)
    		}
    	}
    }
    
    func TestParseObjectLockConfig(t *testing.T) {
    	tests := []struct {
    		value       string
    		expectedErr error
    		expectErr   bool
    	}{
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    			Number: partNumbers[pidx],
    			Error: InvalidPart{
    				PartNumber: partNumbers[pidx],
    			}.Error(),
    		}
    
    	}
    	return partInfosInQuorum, nil
    }
    
    func objPartToPartErr(part ObjectPartInfo) error {
    	if strings.Contains(part.Error, "file not found") {
    		return InvalidPart{PartNumber: part.Number}
    	}
    	if strings.Contains(part.Error, "Specified part could not be found") {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  5. internal/grid/manager.go

    		return
    	}
    	var cReq connectReq
    	_, err = cReq.UnmarshalMsg(message.Payload)
    	if err != nil {
    		writeErr(fmt.Errorf("error parsing connectReq: %w", err))
    		return
    	}
    	remote := m.targets[cReq.Host]
    	if remote == nil {
    		writeErr(fmt.Errorf("unknown incoming host: %v", cReq.Host))
    		return
    	}
    	if time.Since(cReq.Time).Abs() > 5*time.Minute {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. docs/debugging/xattr/main.go

    	if set {
    		if err := setxattr(path, name, value); err != nil {
    			log.Fatalln(fmt.Errorf("setting attribute %s failed with: %v", name, err))
    		}
    	} else {
    		if name == "" {
    			log.Fatalln("you must specify an attribute name for reading")
    		}
    		var names []string
    		if name == "." {
    			attrs, err := listxattr(path)
    			if err != nil {
    				log.Fatalln(fmt.Errorf("listing attributes failed with: %v", err))
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 29 23:52:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. cmd/peer-rest-client.go

    	err = gob.NewDecoder(waitReader).Decode(&result)
    	if err != nil {
    		return result, err
    	}
    	if result.Error != "" {
    		return result, errors.New(result.Error)
    	}
    	return result, nil
    }
    
    func (client *peerRESTClient) DriveSpeedTest(ctx context.Context, opts madmin.DriveSpeedTestOpts) (madmin.DriveSpeedTestResult, error) {
    	queryVals := make(url.Values)
    	if opts.Serial {
    		queryVals.Set("serial", "true")
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. tests/associations_many2many_test.go

    		t.Fatalf("should raise error when create users without languages reference")
    	}
    
    	if err := DB.Create(&user.Languages).Error; err != nil {
    		t.Fatalf("no error should happen when create languages, but got %v", err)
    	}
    
    	if err := DB.Omit("Languages.*").Create(&user).Error; err != nil {
    		t.Fatalf("no error should happen when create user when languages exists, but got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  9. internal/grid/grid_test.go

    		if !closed {
    			t.Error("expected outgoing closed")
    		} else {
    			t.Log("outgoing was closed")
    		}
    	})
    
    	// Drain responses and check if error propagated.
    	err = st.Results(func(b []byte) error {
    		return nil
    	})
    	if !errors.Is(err, context.Canceled) {
    		t.Error("expected context.Canceled, got", err)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. cmd/storage-rest-client.go

    		return errFileCorrupt
    	case errUnexpected.Error():
    		return errUnexpected
    	case errDiskFull.Error():
    		return errDiskFull
    	case errVolumeNotFound.Error():
    		return errVolumeNotFound
    	case errVolumeExists.Error():
    		return errVolumeExists
    	case errFileNotFound.Error():
    		return errFileNotFound
    	case errFileVersionNotFound.Error():
    		return errFileVersionNotFound
    	case errFileNameTooLong.Error():
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top