mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #731 from mrjana/bugs
Skip non-persistent endpoints in sandbox store
This commit is contained in:
commit
c903982bf7
1 changed files with 6 additions and 0 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue