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

replace individual endpoint_cnt read from store with 1 bulk read #1632

Merged
merged 2 commits into from
Feb 2, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Trust the endpoint state if we have a valid sandbox-id
Signed-off-by: Madhu Venugopal <[email protected]>
  • Loading branch information
mavenugo committed Feb 2, 2017
commit 4dd1d9c502f0dc50e2ec8b56bddad4bffb00fc97
3 changes: 3 additions & 0 deletions endpoint_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ type tableEntry struct {
}

func (ep *endpoint) Info() EndpointInfo {
if ep.sandboxID != "" {
return ep
}
n, err := ep.getNetworkFromStore()
if err != nil {
return nil
Expand Down