Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isLocalHost (1.05 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
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    			default:
    			}
    		}
    		// validate replication ARN against target endpoint
    		selfTarget, _ := isLocalHost(clnt.EndpointURL().Hostname(), clnt.EndpointURL().Port(), globalMinioPort)
    		if !sameTarget {
    			sameTarget = selfTarget
    		}
    	}
    
    	if len(arns) == 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
Back to top