Merge pull request #365 from Random-Liu/random-fix

Fix a log line and also set containerd log level to debug in node e2e.
This commit is contained in:
Lantao Liu 2017-10-27 19:44:15 +02:00 committed by GitHub
commit 64c719622a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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