Fix a log line and also set containerd log level to debug in node e2e.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu 2017-10-27 07:19:45 +00:00
parent 1d5cd86207
commit 32806fa375
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ func (c *criContainerdService) PullImage(ctx context.Context, r *runtime.PullIma
}
// Do best effort unpack.
glog.V(4).Info("Unpack image %q", imageRef)
glog.V(4).Infof("Unpack image %q", imageRef)
if err := image.Unpack(ctx, c.config.ContainerdConfig.Snapshotter); err != nil {
glog.Warningf("Failed to unpack image %q: %v", imageRef, err)
// Do not fail image pulling. Unpack will be retried before container creation.

View File

@ -50,7 +50,7 @@ write_files:
Delegate=yes
KillMode=process
ExecStartPre=/sbin/modprobe overlay
ExecStart=/home/cri-containerd/usr/local/bin/containerd
ExecStart=/home/cri-containerd/usr/local/bin/containerd --log-level debug
[Install]
WantedBy=cri-containerd.target