peer is a public data
This commit is contained in:
		@@ -37,6 +37,10 @@ type Peer struct {
 | 
				
			|||||||
	FailedExecution []PeerExecution `json:"failed_execution" bson:"failed_execution"` // FailedExecution is the list of failed executions, to be retried
 | 
						FailedExecution []PeerExecution `json:"failed_execution" bson:"failed_execution"` // FailedExecution is the list of failed executions, to be retried
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (ao *Peer) VerifyAuth(request *tools.APIRequest) bool {
 | 
				
			||||||
 | 
						return true
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// AddExecution adds an execution to the list of failed executions
 | 
					// AddExecution adds an execution to the list of failed executions
 | 
				
			||||||
func (ao *Peer) AddExecution(exec PeerExecution) {
 | 
					func (ao *Peer) AddExecution(exec PeerExecution) {
 | 
				
			||||||
	found := false
 | 
						found := false
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user