~rogpeppe/juju-core/037-startinstance-returns-tools

« back to all changes in this revision

Viewing changes to worker/provisioner/provisioner.go

  • Committer: Roger Peppe
  • Date: 2012-08-24 17:42:12 UTC
  • Revision ID: roger.peppe@canonical.com-20120824174212-3vorga3z2e4add31
worker/provisioner: fix StartInstance call

Show diffs side-by-side

added added

removed removed

Lines of Context:
225
225
        // however as the PA only knows one state.Info, and that info is used by MAs and 
226
226
        // UAs to locate the ZK for this environment, it is logical to use the same 
227
227
        // state.Info as the PA. 
228
 
        inst, err := p.environ.StartInstance(m.Id(), p.info, nil)
 
228
        inst, _, err := p.environ.StartInstance(m.Id(), p.info, nil)
229
229
        if err != nil {
230
230
                log.Printf("provisioner cannot start machine %s: %v", m, err)
231
231
                return err