Index: state/watcher/watcher.go |
=== modified file 'state/watcher/watcher.go' |
--- state/watcher/watcher.go 2013-09-13 14:48:13 +0000 |
+++ state/watcher/watcher.go 2014-03-28 11:17:33 +0000 |
@@ -332,7 +332,7 @@ |
// of the watcher to be ignored. |
func (w *Watcher) initLastId() error { |
var entry struct { |
- Id interface{} "_id" |
+ Id interface{} `entry:"_id"` |
} |
err := w.log.Find(nil).Sort("-$natural").One(&entry) |
if err != nil && err != mgo.ErrNotFound { |