Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #365 from Random-Liu/random-fix
Browse files Browse the repository at this point in the history
Fix a log line and also set containerd log level to debug in node e2e.
  • Loading branch information
Random-Liu committed Oct 27, 2017
2 parents 1d5cd86 + 32806fa commit 64c7196
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/server/image_pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion test/e2e_node/init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64c7196

Please sign in to comment.