We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 991adc3 commit a7f14a1Copy full SHA for a7f14a1
locker.go
@@ -87,10 +87,9 @@ func (l *Locker) startRenew() {
87
// TODO: Handle transient errors gently, don't just pass
88
if err != nil {
89
l.log(fmt.Sprintf("Could not renew: %v", err))
90
- break
+ } else {
91
+ l.log("Lease renewed")
92
}
- l.log("Lease renewed")
93
94
case wg = <-l.cancelRequired:
95
l.log("Stopping renewing . . .")
96
wg.Done()
0 commit comments