whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: WHIMSY-220 Inconsistent and confusing return from ASF::Service.list method
Date Wed, 05 Dec 2018 18:13:06 GMT
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 5570f74  WHIMSY-220 Inconsistent and confusing return from ASF::Service.list method
5570f74 is described below

commit 5570f748a8f1fbc5d5236ee767a7d69b69360b97
Author: Sebb <sebb@apache.org>
AuthorDate: Wed Dec 5 18:12:55 2018 +0000

    WHIMSY-220 Inconsistent and confusing return from ASF::Service.list
    method
    
    Oops - overlooked a call
---
 lib/whimsy/asf/ldap.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index 88f473f..67b4d4f 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -817,7 +817,7 @@ module ASF
     # list of LDAP services that this individual is a member of
     def services
       weakref(:services) do
-        Service.list("member=#{dn}")
+        Service.listcns("member=#{dn}")
       end
     end
 


Mime
View raw message