mirror of
https://github.com/netbirdio/management-integrations.git
synced 2026-05-22 17:09:23 -07:00
revert: add error to peers validation
This commit is contained in:
@@ -6,6 +6,6 @@ func ValidatePeersUpdateRequest(update *server.Peer, peer *server.Peer, manager
|
||||
return update, nil
|
||||
}
|
||||
|
||||
func ValidatePeers(peers []*server.Peer, account *server.Account) ([]*server.Peer, error) {
|
||||
return peers, nil
|
||||
func ValidatePeers(peers []*server.Peer, account *server.Account) []*server.Peer {
|
||||
return peers
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user