Skip to content

Commit e771959

Browse files
committed
Merge pull request #731 from mrjana/bugs
Skip non-persistent endpoints in sandbox store
2 parents 8aa050e + f8587c8 commit e771959

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

sandbox_store.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,12 @@ func (sb *sandbox) storeUpdate() error {
128128
retry:
129129
sbs.Eps = nil
130130
for _, ep := range sb.getConnectedEndpoints() {
131+
// If the endpoint is not persisted then do not add it to
132+
// the sandbox checkpoint
133+
if ep.Skip() {
134+
continue
135+
}
136+
131137
eps := epState{
132138
Nid: ep.getNetwork().ID(),
133139
Eid: ep.ID(),

0 commit comments

Comments
 (0)