Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newObjectLayer (0.18 sec)

  1. cmd/server-main_test.go

    	// Tests for ErasureSD object layer.
    	nDisks := 1
    	disks, err := getRandomDisks(nDisks)
    	if err != nil {
    		t.Fatal("Failed to create drives for the backend")
    	}
    	defer removeRoots(disks)
    
    	obj, err := newObjectLayer(ctx, mustGetPoolEndpoints(0, disks...))
    	if err != nil {
    		t.Fatal("Unexpected object layer initialization error", err)
    	}
    
    	_, ok := obj.(*erasureServerPools)
    	if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Dec 07 09:33:56 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. cmd/server-main.go

    		// Freeze the services until the bucket notification subsystem gets initialized.
    		bootstrapTrace("freezeServices", freezeServices)
    	}
    
    	var newObject ObjectLayer
    	bootstrapTrace("newObjectLayer", func() {
    		var err error
    		newObject, err = newObjectLayer(GlobalContext, globalEndpoints)
    		if err != nil {
    			logFatalErrs(err, Endpoint{}, true)
    		}
    	})
    
    	for _, n := range globalNodes {
    		nodeName := n.Host
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
Back to top