func closeCluster(cluster *riak.Cluster) { if err := cluster.Stop(); err != nil { logErr("Error disconnecting from Riak cluster", err) } }