~rogpeppe/juju-core/438-local-instance-Addresses

« back to all changes in this revision

Viewing changes to environs/interface.go

  • Committer: Tarmac
  • Author(s): William Reade
  • Date: 2013-10-02 10:38:04 UTC
  • mfrom: (1915.1.3 juju-core)
  • Revision ID: tarmac-20131002103804-zxlnv7ik17unxc3p
[r=fwereade] provider/common: Destroy, and tests

Added a common implementation of Destroy, and tests for Bootstrap which had
somehow never been written. Also drive-by removed the machineId arg from
consideration when bootstrapping, because, WTF... a non-0 bootstrap machine
would break *everything*.

https://codereview.appspot.com/14254043/

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
        //
137
137
        // The supplied constraints are used to choose the initial instance
138
138
        // specification, and will be stored in the new environment's state.
139
 
        Bootstrap(cons constraints.Value, possibleTools tools.List, machineID string) error
 
139
        Bootstrap(cons constraints.Value, possibleTools tools.List) error
140
140
 
141
141
        // StateInfo returns information on the state initialized
142
142
        // by Bootstrap.