Skip to content

Commit

Permalink
chore: remove useless log prints (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasakiyori committed Aug 30, 2022
1 parent 39ced1a commit 0e5a318
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions watcher.go
Expand Up @@ -16,7 +16,6 @@ package etcdwatcher

import (
"context"
"log"
"runtime"
"strconv"
"sync"
Expand Down Expand Up @@ -119,14 +118,12 @@ func (w *Watcher) Update() error {
if err != nil {
return err
}
log.Println("Get revision: ", rev)
rev += 1
}
}

newRev := strconv.Itoa(rev)

log.Println("Set revision: ", newRev)
_, err = w.client.Put(context.TODO(), w.keyName, newRev)
return err
}
Expand Down

0 comments on commit 0e5a318

Please sign in to comment.