Formatting fixes
Change-Id: Ib40ab7dfb81c2aac2e1e6d37d146d01cea79808b
diff --git a/gitwatcher.go b/gitwatcher.go
index 60eb1e0..03e11c6 100644
--- a/gitwatcher.go
+++ b/gitwatcher.go
@@ -212,11 +212,11 @@
return nil
}
- if _, err := cache.Get(strconv.Itoa(m.Change.Number)); err != ttlcache.ErrNotFound {
- log.Printf("Not processing CL:%d since it has been processed before", m.Change.Number)
- msg.Ack()
- return nil
- }
+ if _, err := cache.Get(strconv.Itoa(m.Change.Number)); err != ttlcache.ErrNotFound {
+ log.Printf("Not processing CL:%d since it has been processed before", m.Change.Number)
+ msg.Ack()
+ return nil
+ }
log.Printf("Processing CL:%d\n", m.Change.Number)
@@ -264,7 +264,7 @@
log.Printf("[CL:%d] Added comment to bug %v\n", m.Change.Number, b)
}
- cache.Set(strconv.Itoa(m.Change.Number), true)
+ cache.Set(strconv.Itoa(m.Change.Number), true)
msg.Ack()