simplify call to peer
This commit is contained in:
parent
152bdd8061
commit
c88b29a0ca
@ -98,10 +98,7 @@ func (p *PeerCache) LaunchPeerExecution(peerID string, dataID string,
|
||||
} else {
|
||||
url = p.urlFormat((mypeer.Url)+meth, dt)
|
||||
fmt.Println("LaunchPeerExecution AFT 3", url)
|
||||
tmp := []PeerExecution{}
|
||||
for _, v := range mypeer.FailedExecution {
|
||||
tmp = append(tmp, v)
|
||||
}
|
||||
tmp := mypeer.FailedExecution
|
||||
mypeer.FailedExecution = []PeerExecution{}
|
||||
mypeer.GetAccessor(nil).UpdateOne(mypeer, peerID)
|
||||
for _, v := range tmp {
|
||||
|
Loading…
Reference in New Issue
Block a user