mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-27 20:01:48 +01:00
fix negative waitgroup, fix cert expiry date, better auto renewal strategy
This commit is contained in:
@@ -127,12 +127,12 @@ func InitFSWatcher() {
|
||||
func InitDockerWatcher() {
|
||||
// stop all docker client on watcher stop
|
||||
go func() {
|
||||
defer dockerWatcherWg.Done()
|
||||
<-dockerWatcherStop
|
||||
ParallelForEachValue(
|
||||
dockerWatchMap.Iterator(),
|
||||
(*dockerWatcher).Dispose,
|
||||
)
|
||||
dockerWatcherWg.Done()
|
||||
}()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user