Skip to content

Fix some races in getNetworkFromStore#913

Merged
mrjana merged 1 commit intomoby:masterfrom
LK4D4:fix_races
Jan 29, 2016
Merged

Fix some races in getNetworkFromStore#913
mrjana merged 1 commit intomoby:masterfrom
LK4D4:fix_races

Conversation

@LK4D4
Copy link
Copy Markdown
Contributor

@LK4D4 LK4D4 commented Jan 29, 2016

No description provided.

Comment thread endpoint.go Outdated
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.

Can we reuse network.getController() ?
Ideally we could also do
ep.getNetwork().getController().getNetworkFromStore(ep.network.id)
but it looks too long of a concatenation...

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
@LK4D4
Copy link
Copy Markdown
Contributor Author

LK4D4 commented Jan 29, 2016

@aboch changed, thanks!

@aboch
Copy link
Copy Markdown
Contributor

aboch commented Jan 29, 2016

LGTM

1 similar comment
@mrjana
Copy link
Copy Markdown
Contributor

mrjana commented Jan 29, 2016

LGTM

mrjana added a commit that referenced this pull request Jan 29, 2016
Fix some races in getNetworkFromStore
@mrjana mrjana merged commit c039023 into moby:master Jan 29, 2016
@LK4D4 LK4D4 deleted the fix_races branch January 29, 2016 19:19
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.

4 participants