Merge pull request #23190 from AkihiroSuda/addendum23141
Fix the comment for daemon/logger.Copier
This commit is contained in:
commit
69545fe19d
1 changed files with 1 additions and 2 deletions
|
@ -10,8 +10,7 @@ import (
|
|||
"github.com/Sirupsen/logrus"
|
||||
)
|
||||
|
||||
// Copier can copy logs from specified sources to Logger and attach
|
||||
// ContainerID and Timestamp.
|
||||
// Copier can copy logs from specified sources to Logger and attach Timestamp.
|
||||
// Writes are concurrent, so you need implement some sync in your logger
|
||||
type Copier struct {
|
||||
// srcs is map of name -> reader pairs, for example "stdout", "stderr"
|
||||
|
|
Loading…
Reference in a new issue