This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 657f0cf Also count entries
657f0cf is described below
commit 657f0cf20dfadb9b995a747ca870272859617bb0
Author: Sebb <[email protected]>
AuthorDate: Fri Sep 10 14:02:05 2021 +0100
Also count entries
---
www/roster/public_ldap_authgroups.rb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/www/roster/public_ldap_authgroups.rb
b/www/roster/public_ldap_authgroups.rb
index 27e752d..e4640e2 100644
--- a/www/roster/public_ldap_authgroups.rb
+++ b/www/roster/public_ldap_authgroups.rb
@@ -3,6 +3,7 @@
#
# {
# "lastTimestamp": "20160807004722Z",
+# "auth_count": 123,
# "roster_counts": {
# "accounting": 3,
# "apachecon": 34,
@@ -60,6 +61,7 @@ info = {
# Is there a use case for the last createTimestamp ?
lastTimestamp: lastStamp,
# Summarise the counts in the following entries for ease of access
+ auth_count: entries.size,
roster_counts: roster_counts,
auth: entries,
}