mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-14 12:37:31 +00:00
commented out some logging
This commit is contained in:
parent
2a182e78a2
commit
82e9477b18
2 changed files with 8 additions and 6 deletions
|
@ -12,8 +12,10 @@ import (
|
|||
// --- Message
|
||||
|
||||
type Message struct {
|
||||
// The node to send the message to
|
||||
// The node to send the message to.
|
||||
ToNode Node `json:"toNode" yaml:"toNode"`
|
||||
// ToNodes to specify several hosts to send message to.
|
||||
ToNodes []Node `json:"toNodes,omitempty" yaml:"toNodes,omitempty"`
|
||||
// The Unique ID of the message
|
||||
ID int `json:"id" yaml:"id"`
|
||||
// The actual data in the message
|
||||
|
|
|
@ -289,11 +289,11 @@ func (r *ringBuffer) processBufferMessages(samValueBucket string, outCh chan sam
|
|||
|
||||
r.permStore <- fmt.Sprintf("%v : %+v\n", time.Now().UTC(), v)
|
||||
|
||||
// REMOVE: Dump the whole KV store
|
||||
err := r.printBucketContent(samValueBucket)
|
||||
if err != nil {
|
||||
log.Printf("* Error: dump of db failed: %v\n", err)
|
||||
}
|
||||
// TODO: REMOVE: Dump the whole KV store
|
||||
// err := r.printBucketContent(samValueBucket)
|
||||
// if err != nil {
|
||||
// log.Printf("* Error: dump of db failed: %v\n", err)
|
||||
// }
|
||||
}(v)
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue