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

agent: shutdown connection on node stop #1277

Merged
merged 1 commit into from
Aug 1, 2016

Conversation

stevvooe
Copy link
Contributor

Closes #1274.

Signed-off-by: Stephen J Day stephen.day@docker.com

cc @LK4D4 @aaronlehmann @tonistiigi

@stevvooe stevvooe added this to the 1.12.1 milestone Jul 30, 2016
@LK4D4
Copy link
Contributor

LK4D4 commented Jul 30, 2016

I think @aaronlehmann meant another connection. I think that connection can be just cleaned up with defer in runAgent.

@codecov-io
Copy link

codecov-io commented Jul 30, 2016

Current coverage is 54.80% (diff: 0.00%)

Merging #1277 into master will increase coverage by 0.03%

@@             master      #1277   diff @@
==========================================
  Files            78         78          
  Lines         12440      12429    -11   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits           6814       6812     -2   
+ Misses         4683       4678     -5   
+ Partials        943        939     -4   

Sunburst

Powered by Codecov. Last update 0add0ab...f6abeca

@stevvooe
Copy link
Contributor Author

stevvooe commented Aug 1, 2016

I think @aaronlehmann meant another connection. I think that connection can be just cleaned up with defer in runAgent.

Indeed. Don't we still need to shut this one down?

@LK4D4
Copy link
Contributor

LK4D4 commented Aug 1, 2016

Signed-off-by: Stephen J Day <stephen.day@docker.com>
@stevvooe
Copy link
Contributor Author

stevvooe commented Aug 1, 2016

@LK4D4 Fair enough.

@LK4D4
Copy link
Contributor

LK4D4 commented Aug 1, 2016

LGTM

1 similar comment
@aaronlehmann
Copy link
Collaborator

LGTM

@stevvooe stevvooe merged commit b774870 into moby:master Aug 1, 2016
@stevvooe stevvooe deleted the close-connection branch August 1, 2016 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants