Revision 6329d8b3 include/ClusterPool.h

View differences:

include/ClusterPool.h
42 42
     */
43 43
    int set_default_cluster(Host * host)
44 44
    {
45
        return host->set_cluster(ClusterPool::DEFAULT_CLUSTER_NAME);
45
        return host->set_cluster(ClusterPool::DEFAULT_CLUSTER_ID);
46 46
    };
47 47

  
48 48
    /**
......
50 50
     */
51 51
    static const string DEFAULT_CLUSTER_NAME;
52 52

  
53
    /**
54
     *  Cluster id for the default cluster
55
     */
56
    static const int DEFAULT_CLUSTER_ID;
57

  
53 58
    /* ---------------------------------------------------------------------- */
54 59
    /* Methods for DB management                                              */
55 60
    /* ---------------------------------------------------------------------- */

Also available in: Unified diff