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

Fix deepcopy.Copy panicing with BoolValue #2652

Merged
merged 1 commit into from
May 31, 2018

Conversation

vdemeester
Copy link
Member

@vdemeester vdemeester commented May 31, 2018

Previously, trying to create a service with Init (which is a
BoolValue) would panic. It is now fixed.

Before, swarmctl service create --init --name=foo --image nginx:alpine would make the daemon panic, after, it creates the container with the correct spec.

Required for moby/moby#37183 and carrying docker/cli#479

Signed-off-by: Vincent Demeester vincent@sbr.pm

Previously, trying to create a service with `Init` (which is a
BoolValue) would panic. It is now fixed.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov
Copy link

codecov bot commented May 31, 2018

Codecov Report

Merging #2652 into master will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2652      +/-   ##
==========================================
+ Coverage   61.85%   61.88%   +0.03%     
==========================================
  Files         134      134              
  Lines       21823    21823              
==========================================
+ Hits        13499    13506       +7     
+ Misses       6869     6868       -1     
+ Partials     1455     1449       -6

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.

None yet

3 participants