~dstroppa/juju-core/joyent-provider-storage

« back to all changes in this revision

Viewing changes to provider/azure/environ.go

  • Committer: Daniele Stroppa
  • Date: 2014-01-08 15:58:10 UTC
  • mfrom: (1953.1.231 juju-core)
  • Revision ID: daniele.stroppa@joyent.com-20140108155810-xecbwrqkb5i0fyoe
Merging trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
231
231
}
232
232
 
233
233
// Bootstrap is specified in the Environ interface.
234
 
func (env *azureEnviron) Bootstrap(cons constraints.Value) (err error) {
 
234
func (env *azureEnviron) Bootstrap(ctx environs.BootstrapContext, cons constraints.Value) (err error) {
235
235
        // The creation of the affinity group and the virtual network is specific to the Azure provider.
236
236
        err = env.createAffinityGroup()
237
237
        if err != nil {
253
253
                        env.deleteVirtualNetwork()
254
254
                }
255
255
        }()
256
 
        err = common.Bootstrap(env, cons)
 
256
        err = common.Bootstrap(ctx, env, cons)
257
257
        return err
258
258
}
259
259