Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isLocalHost (0.18 sec)

  1. cmd/endpoint.go

    }
    
    // UpdateIsLocal - resolves the host and updates if it is local or not.
    func (endpoint *Endpoint) UpdateIsLocal() (err error) {
    	if endpoint.Host != "" {
    		endpoint.IsLocal, err = isLocalHost(endpoint.Hostname(), endpoint.Port(), globalMinioPort)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // SetPoolIndex sets a specific pool number to this node
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
Back to top