فهرست منبع

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 (
 import (
 	"errors"
 	"errors"
-	"sync"
 	"time"
 	"time"
 
 
 	"github.com/docker/docker/pkg/timeutils"
 	"github.com/docker/docker/pkg/timeutils"
@@ -59,7 +58,6 @@ type LogWatcher struct {
 	// For sending error messages that occur while while reading logs.
 	// For sending error messages that occur while while reading logs.
 	Err           chan error
 	Err           chan error
 	closeNotifier chan struct{}
 	closeNotifier chan struct{}
-	closeOnce     sync.Once
 }
 }
 
 
 // NewLogWatcher returns a new LogWatcher.
 // NewLogWatcher returns a new LogWatcher.