1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

M #-: LDAP user_uid might be nil (#158)

This commit is contained in:
Jan Orel 2020-08-27 10:55:51 +02:00 committed by GitHub
parent b841f9e47d
commit 08bfe6f003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,7 +93,7 @@ order.each do |servers|
break
end
if user_uid.downcase != user.downcase
if !user_uid.nil? && user_uid.downcase != user.downcase
STDERR.puts "User \"#{user}\" and \"#{user_uid}\" "\
"differes (leading/trailing whitespace)"
break