Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type_url set correctly from container structure. #1091

Closed
wants to merge 1 commit into from

Conversation

kunalkushwaha
Copy link
Contributor

Fixes #1052

This fix, sets the type_url correctly, while reading information from container, without storing changes in container struct.

Signed-off-by: Kunal Kushwaha kushwaha_kunal_v7@lab.ntt.co.jp

@codecov-io
Copy link
codecov-io commented Jun 26, 2017

Codecov Report

Merging #1091 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1091   +/-   ##
=======================================
  Coverage   54.51%   54.51%           
=======================================
  Files          16       16           
  Lines        1229     1229           
=======================================
  Hits          670      670           
  Misses        386      386           
  Partials      173      173

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f3b85a9...3b7d1eb. Read the comment docs.

@@ -12,6 +12,11 @@ import (
"google.golang.org/grpc/codes"
)

const (
//URLTypePrefix adds prefix to make OCI spec version as per protobuf's TypeUrl
URLTypePrefix = "types.containerd.io/opencontainers/runtime-spec/"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: TypeUrlPrefix

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be io.containerd.types/?

@mlaventure
Copy link
Contributor
mlaventure commented Jun 26, 2017 via email

@kunalkushwaha
Copy link
Contributor Author

Updated with suggested changes.

//cc @mlaventure

Fixes containerd#1052

Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
Copy link
Contributor
@mlaventure mlaventure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

/cc @stevvooe

@estesp
Copy link
Member
estesp commented Jul 6, 2017

Does #1133 more completely handle this issue?

@stevvooe
Copy link
Member
stevvooe commented Jul 6, 2017

@estesp Yes. Closing in favor of #1133.

@stevvooe stevvooe closed this Jul 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

typeUrl in Container set incorrectly
6 participants