Fix the comment for daemon/logger.Copier
Now daemon/logger.Copier does not use ContainerID Addendum to #23141 Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
parent
287b0a6348
commit
518709a87e
|
@ -10,8 +10,7 @@ import (
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/Sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Copier can copy logs from specified sources to Logger and attach
|
// Copier can copy logs from specified sources to Logger and attach Timestamp.
|
||||||
// ContainerID and Timestamp.
|
|
||||||
// Writes are concurrent, so you need implement some sync in your logger
|
// Writes are concurrent, so you need implement some sync in your logger
|
||||||
type Copier struct {
|
type Copier struct {
|
||||||
// srcs is map of name -> reader pairs, for example "stdout", "stderr"
|
// srcs is map of name -> reader pairs, for example "stdout", "stderr"
|
||||||
|
|
Loading…
Reference in New Issue