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

« back to all changes in this revision

Viewing changes to provider/dummy/environs.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:
493
493
                private, simplestreams.NewURLDataSource(publicURL, simplestreams.VerifySSLHostnames)}, nil
494
494
}
495
495
 
496
 
func (e *environ) Bootstrap(cons constraints.Value, possibleTools coretools.List, machineID string) error {
 
496
func (e *environ) Bootstrap(cons constraints.Value, possibleTools coretools.List) error {
497
497
        defer delay()
498
498
        if err := e.checkBroken("Bootstrap"); err != nil {
499
499
                return err