~andreserl/maas/refactor_debconf_selections_preseed

« back to all changes in this revision

Viewing changes to src/provisioningserver/rackdservices/image_download_service.py

  • Committer: LaMont Jones
  • Date: 2017-02-17 14:23:04 UTC
  • mfrom: (5747 maas)
  • mto: This revision was merged to the branch mainline in revision 5748.
  • Revision ID: lamont@canonical.com-20170217142304-djxqtuvefc1sdfnb
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
        # the RPC service.
93
93
        for elapsed, remaining, wait in retries(15, 5, self.clock):
94
94
            try:
95
 
                client = self.client_service.getClient()
 
95
                client = yield self.client_service.getClientNow()
96
96
                break
97
97
            except NoConnectionsAvailable:
98
98
                yield pause(wait, self.clock)