Hide some deprecated warnings to logs
Signed-off-by: Sergey Bogdanov <sergey.bogdanov@oktetlabs.ru>master
parent
751c49466c
commit
27e2866cee
|
@ -21,6 +21,7 @@ class LDAP::Cache < Hash
|
|||
attr_accessor :base_dn, :scope, :field
|
||||
|
||||
def search(filter)
|
||||
Warning[:deprecated] = false
|
||||
list = Array.new
|
||||
begin
|
||||
@ldap.search(@base_dn, @scope, filter) do |entry|
|
||||
|
|
Loading…
Reference in New Issue