mirror of
https://github.com/moby/moby.git
synced 2026-08-08 17:11:38 +00:00
Merge pull request #731 from mrjana/bugs
Skip non-persistent endpoints in sandbox store
This commit is contained in:
@@ -128,6 +128,12 @@ func (sb *sandbox) storeUpdate() error {
|
||||
retry:
|
||||
sbs.Eps = nil
|
||||
for _, ep := range sb.getConnectedEndpoints() {
|
||||
// If the endpoint is not persisted then do not add it to
|
||||
// the sandbox checkpoint
|
||||
if ep.Skip() {
|
||||
continue
|
||||
}
|
||||
|
||||
eps := epState{
|
||||
Nid: ep.getNetwork().ID(),
|
||||
Eid: ep.ID(),
|
||||
|
||||
Reference in New Issue
Block a user