Revision 996e5d53 snf-cyclades-gtools/synnefo/ganeti/hook.py

b/snf-cyclades-gtools/synnefo/ganeti/hook.py
164 164

  
165 165
        # FIXME: We need a reconciliation mechanism between the DB and
166 166
        #        Ganeti, for cases exactly like this.
167
        self.client = AMQPClient(max_retries=2 * len(settings.AMQP_HOSTS))
167
        self.client = AMQPClient(hosts=settings.AMQP_HOSTS,
168
                                 max_retries = 2 * len(settings.AMQP_HOSTS))
168 169
        self.client.connect()
169 170

  
170 171
    def on_master(self):

Also available in: Unified diff