Merge pull request #23190 from AkihiroSuda/addendum23141
Fix the comment for daemon/logger.Copier Upstream-commit: 69545fe19d294d5ff4c43c2adc2795935f14ae61 Component: engine
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user