Merge pull request #15244 from hqhq/hq_remove_closeOnce
Remove unused variable Upstream-commit: 3f23ae663bd59891e86791057067c60e6651f94d Component: engine
This commit is contained in:
@ -9,7 +9,6 @@ package logger
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/docker/docker/pkg/timeutils"
|
||||
@ -59,7 +58,6 @@ type LogWatcher struct {
|
||||
// For sending error messages that occur while while reading logs.
|
||||
Err chan error
|
||||
closeNotifier chan struct{}
|
||||
closeOnce sync.Once
|
||||
}
|
||||
|
||||
// NewLogWatcher returns a new LogWatcher.
|
||||
|
||||
Reference in New Issue
Block a user