Cluster.Strategy.disconnect_nodes

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

disconnect_nodes(topology, disconnect, list_nodes, nodes)

View Source

Specs

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

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

All failures are logged.