- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 2,773 for Errorf (0.05 seconds)
-
internal/config/subnet/subnet.go
if resp.StatusCode == http.StatusOK { return respStr, nil } return respStr, fmt.Errorf("SUBNET request failed with code %d and error: %s", resp.StatusCode, respStr) } // Post submit 'payload' to specified URL func (c Config) Post(reqURL string, payload any) (string, error) { if !c.Registered() { return "", errors.New("Deployment is not registered with SUBNET. Please register the deployment via 'mc license register ALIAS'")Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.9K bytes - Click Count (0) -
internal/s3select/progress.go
default: return nil, errInvalidCompressionFormat(fmt.Errorf("unknown compression type '%v'", compType)) } pr.processedReader = newCountUpReader(r) return &pr, nil } type nopReadCloser struct { fn func() } func (n2 *nopReadCloser) Read(p []byte) (n int, err error) { panic("should not be called") } func (n2 *nopReadCloser) Close() error { if n2.fn != nil { n2.fn() }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 22 00:33:43 GMT 2024 - 4.3K bytes - Click Count (0) -
internal/s3select/sql/record.go
} // Record - is a type containing columns and their values. type Record interface { Get(name string) (*Value, error) // Set a value. // Can return a different record type. Set(name string, value *Value) (Record, error) WriteCSV(writer io.Writer, opts WriteCSVOpts) error WriteJSON(writer io.Writer) error // Clone the record and if possible use the destination provided. Clone(dst Record) Record Reset()Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.4K bytes - Click Count (0) -
internal/config/identity/openid/providercfg.go
// initializeProvider initializes if any additional vendor specific information // was provided, initialization will return an error initial login fails. func (p *providerCfg) initializeProvider(cfgGet func(string) string, transport http.RoundTripper) error { vendor := cfgGet(Vendor) if vendor == "" { return nil } var err error switch vendor { case keyCloakVendor: adminURL := cfgGet(KeyCloakAdminURL) realm := cfgGet(KeyCloakRealm)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.7K bytes - Click Count (0) -
internal/config/bool-flag.go
return true, nil } if strings.EqualFold(str, "disabled") { return false, nil } return false, fmt.Errorf("ParseBool: parsing '%s': %w", str, strconv.ErrSyntax) } // ParseBoolFlag - parses string into BoolFlag. func ParseBoolFlag(s string) (bf BoolFlag, err error) { b, err := ParseBool(s) return BoolFlag(b), err
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 07 15:10:40 GMT 2022 - 2.3K bytes - Click Count (0) -
cmd/erasure-encode.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 15 00:11:04 GMT 2024 - 2.9K bytes - Click Count (0) -
cmd/bucket-replication_test.go
func TestReplicationResync(t *testing.T) { ctx := t.Context() for i, test := range replicationConfigTests { if sync := test.rcfg.Resync(ctx, test.info, test.dsc, test.tgtStatuses); sync.mustResync() != test.expectedSync { t.Errorf("Test%d (%s): Resync got %t , want %t", i+1, test.name, sync.mustResync(), test.expectedSync) } } } var ( start = UTCNow().AddDate(0, 0, -1) replicationConfigTests2 = []struct {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 12.1K bytes - Click Count (0) -
cmd/xl-storage_windows_test.go
} // Try to create a file that includes a file in its path components. // In *nix, this returns syscall.ENOTDIR while in windows we receive the following error. err = fs.AppendFile(context.Background(), "voldir", "/file/obj1", []byte("hello")) if err != errFileAccessDenied { t.Errorf("expected: %s, got: %s", errFileAccessDenied, err) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Nov 29 06:35:16 GMT 2023 - 2.8K bytes - Click Count (0) -
internal/s3select/jstream/scanner_test.go
failAfter int } func newMockReader(failAfter int, data byte) *mockReader { return &mockReader{0, data, failAfter} } func (r *mockReader) Read(p []byte) (n int, err error) { if r.pos >= r.failAfter { return 0, fmt.Errorf("intentionally unexpected reader error") } r.pos++ p[0] = r.mockData return 1, nil } func TestScannerFailure(t *testing.T) { var ( i int failAfter = 900
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.1K bytes - Click Count (0) -
cmd/admin-handlers.go
usage = madmin.Usage{Size: dataUsageInfo.ObjectsTotalSize} } else { buckets = madmin.Buckets{Error: err.Error()} objects = madmin.Objects{Error: err.Error()} deleteMarkers = madmin.DeleteMarkers{Error: err.Error()} usage = madmin.Usage{Error: err.Error()} } // Fetching the backend information backendInfo := objectAPI.BackendInfo()Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 99.7K bytes - Click Count (0)