Przeglądaj źródła

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>
Akihiro Suda 9 lat temu
rodzic
commit
518709a87e
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      daemon/logger/copier.go

+ 1 - 2
daemon/logger/copier.go

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