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

« back to all changes in this revision

Viewing changes to worker/machiner/machiner.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:
80
80
}
81
81
 
82
82
func (a *Machiner) String() string {
83
 
        return fmt.Sprintf("machiner for machine %d", a.machine.Id())
 
83
        return fmt.Sprintf("machiner for machine %v", a.machine)
84
84
}
85
85
 
86
86
// Wait waits until the Machiner has died, and returns the error encountered.