You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2017/08/23 15:06:29 UTC

[whimsy] branch master updated: Don't require caller to null-check before sort etc

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 e3e5c19  Don't require caller to null-check before sort etc
e3e5c19 is described below

commit e3e5c1909072a1c20d5b2675560b5b2837cf8704
Author: Sebb <se...@apache.org>
AuthorDate: Wed Aug 23 16:06:27 2017 +0100

    Don't require caller to null-check before sort etc
---
 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 e789858..b189063 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -75,7 +75,7 @@ module ASF
       puppet_config['ldapserver::slapd_peers'].values.
         map {|host| "ldaps://#{host}:636"}
     rescue
-      nil
+      []
     end
 
     # connect to LDAP

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].