cosmetic: remove blank log lines

This commit is contained in:
Matthias Radestock committed 2015-07-11 16:43:33 +01:00
1 parent 9a089a111f
commit 2b61bc91df
9 files changed
+13 -13

No files matched your search

+2 -2
View File
@@ -30,7 +30,7 @@ func (c *claim) sendResult(result error) {
func (c *claim) Try(alloc *Allocator) bool {
if !alloc.ring.Contains(c.addr) {
// Address not within our universe; assume user knows what they are doing
alloc.infof("Ignored address %s claimed by %s - not in our universe\n", c.addr, c.ident)
alloc.infof("Ignored address %s claimed by %s - not in our universe", c.addr, c.ident)
c.sendResult(nil)
return true
}
@@ -42,7 +42,7 @@ func (c *claim) Try(alloc *Allocator) bool {
case alloc.ourName:
// success
case router.UnknownPeerName:
alloc.infof("Ring is empty; will try later.\n", c.addr, owner)
alloc.infof("Ring is empty; will try later.", c.addr, owner)
c.sendResult(nil) // don't make the caller wait
return false
default:
+1 -1
View File
@@ -218,7 +218,7 @@ func (r *Ring) Merge(gossip Ring) error {
switch {
case mine.Version >= theirs.Version:
if mine.Version == theirs.Version && !mine.Equal(theirs) {
common.Log.Debugf("Error merging entries at %s - %v != %v\n", mine.Token, mine, theirs)
common.Log.Debugf("Error merging entries at %s - %v != %v", mine.Token, mine, theirs)
return ErrInvalidEntry
}
addToResult(*mine)