Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 367 for Invalid (0.15 sec)

  1. cmd/sftp-server.go

    				break
    			}
    		}
    		if !found {
    			logger.Fatal(fmt.Errorf("unknown algorithm %q passed to --sftp=%s\nValid algorithms: %v", algo, arg, strings.Join(allowed, ", ")), "unable to start SFTP server")
    		}
    	}
    	if len(filteredAlgos) == 0 {
    		logger.Fatal(fmt.Errorf("no valid algorithms passed to --sftp=%s\nValid algorithms: %v", arg, strings.Join(allowed, ", ")), "unable to start SFTP server")
    	}
    	return filteredAlgos
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. internal/bpool/bpool_test.go

    		t.Fatalf("bytepool width invalid: got %v want %v", bufPool.Width(), width)
    	}
    
    	// Check with width cap
    	if bufPool.WidthCap() != capWidth {
    		t.Fatalf("bytepool capWidth invalid: got %v want %v", bufPool.WidthCap(), capWidth)
    	}
    
    	// Check that retrieved buffer are of the expected width
    	b := bufPool.Get()
    	if len(b) != width {
    		t.Fatalf("bytepool length invalid: got %v want %v", len(b), width)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 19:13:27 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. internal/config/heal/heal.go

    		return cfg, fmt.Errorf("'heal:max_io' value invalid: %w", err)
    	}
    	if ws := env.Get(EnvDriveWorkers, kvs.GetWithDefault(DriveWorkers, DefaultKVS)); ws != "" {
    		w, err := strconv.Atoi(ws)
    		if err != nil {
    			return cfg, fmt.Errorf("'heal:drive_workers' value invalid: %w", err)
    		}
    		if w < 1 {
    			return cfg, fmt.Errorf("'heal:drive_workers' value invalid: zero or negative integer unsupported")
    		}
    		cfg.DriveWorkers = w
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. internal/crypto/sse_test.go

    			"X-Minio-Internal-Server-Side-Encryption-Iv":             "coVfGS3I/CTrqexX5vUN+PQPoP9aUFiPYYrSzqTWfBA=",
    		},
    		ExpectedErr: nil,
    	},
    	{ // 1 - Valid HTTP headers but invalid metadata entries for bucket/object2
    		Headers: http.Header{
    			"X-Amz-Server-Side-Encryption-Customer-Algorithm": []string{"AES256"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  5. internal/config/compress/compress.go

    		if err != nil {
    			return cfg, fmt.Errorf("%s: Invalid MINIO_COMPRESSION_EXTENSIONS value (`%s`)", err, extensions)
    		}
    		cfg.Extensions = extensions
    	}
    
    	if compressExtensionsLegacy != "" {
    		extensions, err := parseCompressIncludes(compressExtensions)
    		if err != nil {
    			return cfg, fmt.Errorf("%s: Invalid MINIO_COMPRESS_EXTENSIONS value (`%s`)", err, extensions)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 5K bytes
    - Viewed (0)
  6. internal/s3select/errors.go

    	return &s3Error{
    		code:       "InvalidDataSource",
    		message:    "Invalid data source type. Only CSV, JSON, and Parquet are supported.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errInvalidRequestParameter(err error) *s3Error {
    	return &s3Error{
    		code:       "InvalidRequestParameter",
    		message:    "The value of a parameter in SelectRequest element is invalid. Check the service API documentation and try again.",
    		statusCode: 400,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 14 16:48:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  7. cmd/typed-errors.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"errors"
    )
    
    // errInvalidArgument means that input argument is invalid.
    var errInvalidArgument = errors.New("Invalid arguments specified")
    
    // errMethodNotAllowed means that method is not allowed.
    var errMethodNotAllowed = errors.New("Method not allowed")
    
    // errSignatureMismatch means signature did not match.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. internal/config/identity/openid/openid.go

    	}
    	return pCfg.ClaimPrefix + pCfg.ClaimName
    }
    
    // LookupUser lookup userid for the provider
    func (r Config) LookupUser(roleArn, userid string) (provider.User, error) {
    	// Can safely ignore error here as empty or invalid ARNs will not be
    	// mapped.
    	arnVal, _ := arn.Parse(roleArn)
    	pCfg, ok := r.arnProviderCfgsMap[arnVal]
    	if ok {
    		user, err := pCfg.provider.LookupUser(userid)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom_test.go

    			expectedUpdate: true,
    		},
    		{
    			meta:           meta,
    			pools:          orderChangePools,
    			name:           "Invalid-Orderchange",
    			expectedErr:    false,
    			expectedUpdate: true,
    		},
    		{
    			meta:           nmeta1,
    			pools:          pools,
    			name:           "Invalid-Completed-Pool-Not-Removed",
    			expectedErr:    true,
    			expectedUpdate: false,
    		},
    		{
    			meta:           nmeta2,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 03 16:47:40 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. cmd/object-api-multipart_test.go

    		},
    		{bucketName: "a", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: a")},
    		// Test case - 5.
    		// Case with invalid object names.
    		{bucketName: bucket, PartID: 1, expectedError: fmt.Errorf("%s", "Object name invalid: minio-bucket/")},
    		// Test case - 6.
    		// Valid object and bucket names but non-existent bucket.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
Back to top