Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(960)

Unified Diff: state/watcher/watcher.go

Issue 81570045: cleanup: fixing go vet warnings
Patch Set: cleanup: fixing go vet warnings Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « state/watcher.go ('k') | store/store.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « state/watcher.go ('k') | store/store.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b