~dave-cheney/juju-core/057-environs-config-default-series-tests

« back to all changes in this revision

Viewing changes to cmd/jujud/bootstrap_test.go

  • Committer: William Reade
  • Author(s): William Reade
  • Date: 2012-11-28 15:34:37 UTC
  • mfrom: (730.3.7 juju-core)
  • Revision ID: fwereade@gmail.com-20121128153437-sllbjbdfg2ke4djf
state: use string IDs for machines

ok, this is *huge*, but most changes are just s/int/string/ and those left
over are (1) obvious and (2) for the better IMO.

R=
CC=
https://codereview.appspot.com/6852080

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
        })
126
126
        c.Assert(err, IsNil)
127
127
        defer st.Close()
128
 
        m, err := st.Machine(0)
 
128
        m, err := st.Machine("0")
129
129
        c.Assert(err, IsNil)
130
130
        c.Assert(m.Workers(), DeepEquals, []state.WorkerKind{state.MachinerWorker, state.ProvisionerWorker, state.FirewallerWorker})
131
131
}