Skip to content

Commit

Permalink
Fix: change debug message without the use of deleted function
Browse files Browse the repository at this point in the history
  • Loading branch information
gdiazlo committed Mar 19, 2019
1 parent 52b1900 commit 7ba2a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gossip/delegate.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ func (d *agentDelegate) NotifyMsg(msg []byte) {
log.Errorf("Unable to decode message: %v", err)
return
}
log.Debugf("Notifying batch %+v\n", batchId(&batch))

// hashs the snaapshots to deduplicate processing inside the agent
hash := hashing.NewSha256Hasher().Do(*tmp["Snapshots"])
log.Debugf("Notifying batch %v\n", hash)
d.agent.In <- &hashedBatch{&batch, hash}
}

Expand Down

0 comments on commit 7ba2a45

Please sign in to comment.