Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CheckLocalServerAddr (0.15 sec)

  1. cmd/endpoint.go

    	if isEmptyLayout(poolsLayout...) {
    		return nil, setupType, config.ErrInvalidErasureEndpoints(nil).Msg("invalid number of endpoints")
    	}
    
    	// Check whether serverAddr is valid for this host.
    	if err := CheckLocalServerAddr(serverAddr); err != nil {
    		return nil, setupType, err
    	}
    
    	_, serverAddrPort := mustSplitHostPort(serverAddr)
    
    	poolEndpoints := make(PoolEndpointList, len(poolsLayout))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  2. cmd/server-main.go

    			})
    		}
    	}
    	ctxt.Layout, err = buildDisksLayoutFromConfFile(pools)
    	return err
    }
    
    func serverHandleCmdArgs(ctxt serverCtxt) {
    	handleCommonArgs(ctxt)
    
    	logger.FatalIf(CheckLocalServerAddr(globalMinioAddr), "Unable to validate passed arguments")
    
    	var err error
    	var setupType SetupType
    
    	// Check and load TLS certificates.
    	globalPublicCerts, globalTLSCerts, globalIsTLS, err = getTLSConfig()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (2)
Back to top