Merge branch 'groups-get-account-refactoring' into posturechecks-get-account-refactoring

This commit is contained in:
bcmmbaga
2024-11-12 15:55:34 +03:00
25 changed files with 609 additions and 181 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ func (h *RoutesHandler) validateRoute(req api.PostApiRoutesJSONRequestBody) erro
}
if req.Peer == nil && req.PeerGroups == nil {
return status.Errorf(status.InvalidArgument, "either 'peer' or 'peers_group' should be provided")
return status.Errorf(status.InvalidArgument, "either 'peer' or 'peer_groups' should be provided")
}
if req.Peer != nil && req.PeerGroups != nil {