Skip to content

Protect jsonfilelog writes with mutex#11472

Merged
estesp merged 1 commit intomoby:masterfrom
LK4D4:logger_mutex
Mar 18, 2015
Merged

Protect jsonfilelog writes with mutex#11472
estesp merged 1 commit intomoby:masterfrom
LK4D4:logger_mutex

Conversation

@LK4D4
Copy link
Copy Markdown
Contributor

@LK4D4 LK4D4 commented Mar 18, 2015

Fixes panic on jenkins.
ping @estesp

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

unlock here or add defer l.mu.Unlock()?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Indeed, thanks!

Signed-off-by: Alexander Morozov <[email protected]>
@LK4D4
Copy link
Copy Markdown
Contributor Author

LK4D4 commented Mar 18, 2015

@estesp Fixed

@jessfraz jessfraz added this to the 1.6.0 milestone Mar 18, 2015
@jessfraz
Copy link
Copy Markdown
Contributor

wooohoooo

@jessfraz
Copy link
Copy Markdown
Contributor

jenkins failed bc of TestPullVerified so unrelated, LGTM

@estesp
Copy link
Copy Markdown
Contributor

estesp commented Mar 18, 2015

LGTM

estesp added a commit that referenced this pull request Mar 18, 2015
Protect jsonfilelog writes with mutex
@estesp estesp merged commit 5423208 into moby:master Mar 18, 2015
@LK4D4 LK4D4 deleted the logger_mutex branch March 18, 2015 21:23
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.

6 participants