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

« back to all changes in this revision

Viewing changes to state/watcher.go

  • Committer: Roger Peppe
  • Date: 2012-12-03 18:42:13 UTC
  • mto: (841.1.2 197-api-passwords)
  • mto: This revision was merged to the branch mainline in revision 883.
  • Revision ID: roger.peppe@canonical.com-20121203184213-9getgnjiipl2u2hm
rpc: initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
1154
1154
        return newEntityWatcher(m.st, m.st.machines.Name, m.doc.Id, m.doc.TxnRevno)
1155
1155
}
1156
1156
 
1157
 
func newEntityWatcher(st *State, coll string, key interface{}, revno int64) *EntityWatcher {
 
1157
func newEntityWatcher(st *State, coll string, key string, revno int64) *EntityWatcher {
1158
1158
        w := &EntityWatcher{
1159
1159
                commonWatcher: commonWatcher{st: st},
1160
1160
                out:           make(chan struct{}),