simplify call to peer
This commit is contained in:
@@ -15,7 +15,7 @@ type Peer struct {
|
||||
Url string `json:"url,omitempty" bson:"url,omitempty" validate:"required,base64url"`
|
||||
PublicKey string `json:"public_key,omitempty" bson:"public_key,omitempty"`
|
||||
Services map[string]int `json:"services,omitempty" bson:"services,omitempty"`
|
||||
FailedExecution []PeerExecution `json:"failed_execution,omitempty" bson:"failed_execution,omitempty"`
|
||||
FailedExecution []PeerExecution `json:"failed_execution" bson:"failed_execution"`
|
||||
}
|
||||
|
||||
func (ao *Peer) AddExecution(exec PeerExecution) {
|
||||
|
||||
Reference in New Issue
Block a user