Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetStorageClass (0.08 sec)

  1. internal/config/storageclass/legacy.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package storageclass
    
    import (
    	"github.com/minio/minio/internal/config"
    )
    
    // SetStorageClass - One time migration code needed, for migrating from older config to new for StorageClass.
    func SetStorageClass(s config.Config, cfg Config) {
    	if len(cfg.Standard.String()) == 0 && len(cfg.RRS.String()) == 0 {
    		// Do not enable storage-class if no settings found.
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  2. cmd/config-migrate.go

    		cfg.Notify.NSQ["1"] = target.NSQArgs{}
    	}
    
    	// Move to latest.
    	cfg.Version = "33"
    
    	newCfg := newServerConfig()
    
    	config.SetRegion(newCfg, cfg.Region)
    	storageclass.SetStorageClass(newCfg, cfg.StorageClass)
    
    	for k, loggerArgs := range cfg.Logger.HTTP {
    		logger.SetLoggerHTTP(newCfg, k, loggerArgs)
    	}
    	for k, auditArgs := range cfg.Logger.AuditWebhook {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top