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

Remove the redundant type conversion #747

Merged
merged 1 commit into from
Apr 19, 2017

Conversation

miaoyq
Copy link
Member

@miaoyq miaoyq commented Apr 18, 2017

The type of ocispec.Descriptor.Digest is already digest.Digest now,
so the type conversion is redundant.

Signed-off-by: Yanqiang Miao miao.yanqiang@zte.com.cn

The type of ocispec.Descriptor.Digest is digest.Digest now,
so the type conversion is redundant.

Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
@codecov-io
Copy link

codecov-io commented Apr 18, 2017

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #747   +/-   ##
=======================================
  Coverage   62.46%   62.46%           
=======================================
  Files           5        5           
  Lines         682      682           
=======================================
  Hits          426      426           
  Misses        160      160           
  Partials       96       96

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 bbeaab5...d95e98d. Read the comment docs.

@miaoyq
Copy link
Member Author

miaoyq commented Apr 19, 2017

ping @AkihiroSuda

@AkihiroSuda
Copy link
Member

LGTM(IANAM)

@dmcgowan
Copy link
Member

LGTM

@stevvooe
Copy link
Member

LGTM

This was from when the field was a string.

@stevvooe stevvooe merged commit 3d076e5 into containerd:master Apr 19, 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.

5 participants