Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for freshly (0.15 sec)

  1. cmd/admin-handlers-config-kv.go

    	loggerWebhookProxyDeleted := setLoggerWebhookSubnetProxy(subSys, cfg)
    
    	if err = saveServerConfig(ctx, objectAPI, cfg); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// freshly retrieve the config so that default values are loaded for reset config
    	if cfg, err = getValidConfig(objectAPI); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  2. internal/grid/handlers.go

    // AllowCallRequestPool indicates it is safe to reuse the request
    // on the client side, meaning the request is recycled/pooled when a request is sent.
    // CAREFUL: This should only be used when there are no pointers, slices that aren't freshly constructed.
    func (h *SingleHandler[Req, Resp]) AllowCallRequestPool(b bool) *SingleHandler[Req, Resp] {
    	h.callReuseReq = b
    	return h
    }
    
    // IgnoreNilConn will ignore nil connections when calling.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  3. cmd/config-migrate.go

    	}
    	if osIsNotExist(err) || osIsPermission(err) || len(data) == 0 {
    		data, err = readConfig(GlobalContext, objAPI, configFile)
    		if err != nil {
    			// when config.json is not found, then we freshly initialize.
    			if errors.Is(err, errConfigNotFound) {
    				return newServerCfg()
    			}
    			return nil, err
    		}
    
    		data, err = decryptData(data, configFile)
    		if err != nil {
    			return nil, err
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:05:24 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-decom_test.go

    			name:           "Correct-Decom-Pool-Removed",
    			expectedErr:    false,
    			expectedUpdate: true,
    		},
    		{
    			meta:           poolMeta{}, // no-pool info available fresh setup.
    			pools:          pools,
    			name:           "Correct-Fresh-Setup",
    			expectedErr:    false,
    			expectedUpdate: true,
    		},
    		{
    			meta:           nmeta2,
    			pools:          orderChangePools,
    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)
  5. cmd/warm-backend-azure.go

    	}
    	spt, err := adal.NewServicePrincipalToken(*oauthConfig, conf.SPAuth.ClientID, conf.SPAuth.ClientSecret, azure.PublicCloud.ResourceIdentifiers.Storage)
    	if err != nil {
    		return nil, err
    	}
    
    	// Refresh obtains a fresh token
    	err = spt.Refresh()
    	if err != nil {
    		return nil, err
    	}
    
    	tc := azblob.NewTokenCredential(spt.Token().AccessToken, func(tc azblob.TokenCredential) time.Duration {
    		err := spt.Refresh()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 05 16:44:08 GMT 2024
    - 7.8K bytes
    - Viewed (1)
  6. cmd/storage-datatypes_gen.go

    		return
    	}
    	z.SuccessorModTime, err = dc.ReadTime()
    	if err != nil {
    		err = msgp.WrapError(err, "SuccessorModTime")
    		return
    	}
    	z.Fresh, err = dc.ReadBool()
    	if err != nil {
    		err = msgp.WrapError(err, "Fresh")
    		return
    	}
    	z.Idx, err = dc.ReadInt()
    	if err != nil {
    		err = msgp.WrapError(err, "Idx")
    		return
    	}
    	if dc.IsNil() {
    		err = dc.ReadNil()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  7. tests/update_test.go

    	}
    
    	// Verify that Age now=`newAge`.
    	result := &User{}
    	result.ID = user.ID
    	DB.Preload("Account").First(result)
    
    	if result.Age != newAge {
    		t.Errorf("Expected freshly queried user to have Age=%v but instead found Age=%v", newAge, result.Age)
    	}
    
    	if result.Account.Number != user.Account.Number {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  8. cmd/format-erasure.go

    		Version string `json:"version"` // Version of 'xl' format.
    		Disk    string `json:"drive"`   // Disk field carries assigned disk uuid.
    		// JBOD field carries the input disk order generated the first
    		// time when fresh disks were supplied.
    		JBOD []string `json:"jbod"`
    	} `json:"xl"` // Erasure field holds xl format.
    }
    
    // Represents the V2 backend disk structure version
    // under `.minio.sys` and actual data namespace.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  9. cmd/storage-datatypes.go

    	Data []byte `msg:"d,allownil"` // optionally carries object data
    
    	NumVersions      int       `msg:"nv"`
    	SuccessorModTime time.Time `msg:"smt"`
    
    	Fresh bool `msg:"fr"` // indicates this is a first time call to write FileInfo.
    
    	// Position of this version or object in a multi-object delete call,
    	// no other caller must set this value other than multi-object delete call.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-decom.go

    				}
    			}
    		}()
    	}
    
    	return nil
    }
    
    func newPoolMeta(z *erasureServerPools, prevMeta poolMeta) poolMeta {
    	newMeta := poolMeta{} // to update write poolMeta fresh.
    	// looks like new pool was added we need to update,
    	// or this is a fresh installation (or an existing
    	// installation with pool removed)
    	newMeta.Version = poolMetaVersion
    	for idx, pool := range z.serverPools {
    		var skip bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
Back to top