Skip to content

Commit

Permalink
Merge pull request #5044 from wzshiming/fix/empty-error-warpping
Browse files Browse the repository at this point in the history
Fix empty error warpping
  • Loading branch information
AkihiroSuda committed Feb 18, 2021
2 parents a98c83c + 59db8a1 commit 746cef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cri/server/container_create.go
Expand Up @@ -227,7 +227,7 @@ func (c *criService) CreateContainer(ctx context.Context, r *runtime.CreateConta

specOpts, err := c.containerSpecOpts(config, &image.ImageSpec.Config)
if err != nil {
return nil, errors.Wrap(err, "")
return nil, errors.Wrap(err, "failed to get container spec opts")
}

containerLabels := buildLabels(config.Labels, containerKindContainer)
Expand Down

0 comments on commit 746cef0

Please sign in to comment.