You're seeing just the function connect_nodes, go back to Cluster.Strategy module for more information.
Link to this function

connect_nodes(topology, connect, list_nodes, nodes)

View Source


connect_nodes(topology(), mfa_tuple(), mfa_tuple(), [atom()]) ::
  :ok | {:error, bad_nodes()}

Given a list of node names, attempts to connect to all of them. Returns :ok if all nodes connected, or {:error, [{node, reason}, ..]} if we failed to connect to some nodes.

All failures are logged.