~rogpeppe/pyjuju/state-watcher-cleanup

« back to all changes in this revision

Viewing changes to state/machine.go

  • Committer: Roger Peppe
  • Date: 2012-06-12 10:51:16 UTC
  • Revision ID: roger.peppe@canonical.com-20120612105116-w5fh6ikmspshjbcn
state: slight cleanup of watchers

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
func machineKey(machineId int) string {
113
113
        return fmt.Sprintf("machine-%010d", machineId)
114
114
}
115
 
 
116
 
// MachinesChange contains information about
117
 
// machines that have been added or deleted.
118
 
type MachinesChange struct {
119
 
        Added, Deleted []*Machine
120
 
}