lib/aerospike/cluster.rb
def get_node_by_name(node_name)
      node = find_node_by_name(node_name)

      raise Aerospike::Exceptions::InvalidNode unless node

      node
    end
def get_node_by_name(node_name)
      node = find_node_by_name(node_name)

      raise Aerospike::Exceptions::InvalidNode unless node

      node
    end
Find a node by name and returns an error if not found