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

bugfix: failed to create 'volumefrom' container #1161

Merged
merged 1 commit into from
Apr 19, 2018

Conversation

rudyfly
Copy link
Collaborator

@rudyfly rudyfly commented Apr 18, 2018

Ⅰ. Describe what this PR did

old container has bind directory into container, such as "-v /tmp:/tmp",
when use 'volumefrom' to create new container, it will be failed when
setup volumes.

Ⅱ. Does this pull request fix one issue?

NONE

Ⅲ. Describe how you did it

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Signed-off-by: Rudy Zhang [email protected]

old container has bind directory into container, such as "-v /tmp:/tmp",
when use 'volumefrom' to create new container, it will be failed when
setup volumes.

Signed-off-by: Rudy Zhang <[email protected]>
@pouchrobot pouchrobot added areas/storage kind/bug This is bug report for project size/XS labels Apr 18, 2018
@codecov-io
Copy link

Codecov Report

Merging #1161 into master will increase coverage by 0.02%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1161      +/-   ##
==========================================
+ Coverage   16.03%   16.06%   +0.02%     
==========================================
  Files         174      173       -1     
  Lines        9995     9929      -66     
==========================================
- Hits         1603     1595       -8     
+ Misses       8275     8217      -58     
  Partials      117      117
Impacted Files Coverage Δ
daemon/mgr/container.go 0% <0%> (ø) ⬆️
pkg/utils/utils.go 78.22% <0%> (-0.35%) ⬇️
daemon/mgr/cri.go 0% <0%> (ø) ⬆️
daemon/config/config.go

@allencloud
Copy link
Collaborator

I still suggest that add an integration test to cover this. @rudyfly

@yyb196
Copy link
Collaborator

yyb196 commented Apr 19, 2018

LGTM

@pouchrobot pouchrobot added the LGTM one maintainer or community participant agrees to merge the pull reuqest. label Apr 19, 2018
@yyb196 yyb196 merged commit 6210aef into AliyunContainerService:master Apr 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
areas/storage kind/bug This is bug report for project LGTM one maintainer or community participant agrees to merge the pull reuqest. size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants