mirror of
https://github.com/postmannen/ctrl.git
synced 2025-03-05 06:46:48 +00:00
changed error messages
This commit is contained in:
parent
898f299e71
commit
1a3e310cd1
2 changed files with 5 additions and 3 deletions
|
@ -107,7 +107,7 @@ func (r *ringBuffer) fillBuffer(inCh chan subjectAndMessage, samValueBucket stri
|
|||
func() {
|
||||
s, err := r.dumpBucket(samValueBucket)
|
||||
if err != nil {
|
||||
er := fmt.Errorf("error: fillBuffer: retreival of values from k/v store failed, probaly empty database so we don't have any previos entries in db: %v", err)
|
||||
er := fmt.Errorf("info: fillBuffer: retreival of values from k/v store failed, probaly empty database, and no previos entries in db to process: %v", err)
|
||||
log.Printf("%v\n", er)
|
||||
return
|
||||
//sendErrorLogMessage(r.newMessagesCh, node(r.nodeName), er)
|
||||
|
@ -356,8 +356,8 @@ func (r *ringBuffer) getIndexValue(indexBucket string) int {
|
|||
}
|
||||
|
||||
index, err := strconv.Atoi(string(indexB))
|
||||
if err != nil {
|
||||
log.Printf("error: getIndexValue: strconv.Atoi : %v\n", err)
|
||||
if err != nil && string(indexB) == "" {
|
||||
log.Printf("info: getIndexValue: no index value found : %v\n", err)
|
||||
}
|
||||
|
||||
// fmt.Printf("\n**** ringBuffer.getIndexValue: got index value = %v\n\n", index)
|
||||
|
|
|
@ -44,6 +44,8 @@ func TestSteward(t *testing.T) {
|
|||
|
||||
s.Start()
|
||||
|
||||
s.Stop()
|
||||
|
||||
// Shutdown services
|
||||
ns.Shutdown()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue