ソースを参照

make container kill debug log readable

Signed-off-by: allencloud <allen.sun@daocloud.io>
allencloud 9 年 前
コミット
1102ac257b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      daemon/kill.go

+ 1 - 1
daemon/kill.go

@@ -55,7 +55,7 @@ func (daemon *Daemon) ContainerKill(name string, sig uint64) error {
 // or not running, or if there is a problem returned from the
 // or not running, or if there is a problem returned from the
 // underlying kill command.
 // underlying kill command.
 func (daemon *Daemon) killWithSignal(container *container.Container, sig int) error {
 func (daemon *Daemon) killWithSignal(container *container.Container, sig int) error {
-	logrus.Debugf("Sending %d to %s", sig, container.ID)
+	logrus.Debugf("Sending kill signal %d to container %s", sig, container.ID)
 	container.Lock()
 	container.Lock()
 	defer container.Unlock()
 	defer container.Unlock()