瀏覽代碼

Remove unused variable

Introduced by #15209 unintentionally.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Qiang Huang 10 年之前
父節點
當前提交
f5557f4f43
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      daemon/logger/logger.go

+ 0 - 2
daemon/logger/logger.go

@@ -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.