Introduced by #15209 unintentionally.
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
| ... | ... |
@@ -9,7 +9,6 @@ package logger |
| 9 | 9 |
|
| 10 | 10 |
import ( |
| 11 | 11 |
"errors" |
| 12 |
- "sync" |
|
| 13 | 12 |
"time" |
| 14 | 13 |
|
| 15 | 14 |
"github.com/docker/docker/pkg/timeutils" |
| ... | ... |
@@ -59,7 +58,6 @@ type LogWatcher struct {
|
| 59 | 59 |
// For sending error messages that occur while while reading logs. |
| 60 | 60 |
Err chan error |
| 61 | 61 |
closeNotifier chan struct{}
|
| 62 |
- closeOnce sync.Once |
|
| 63 | 62 |
} |
| 64 | 63 |
|
| 65 | 64 |
// NewLogWatcher returns a new LogWatcher. |