fixed roles response

This commit is contained in:
amartynov 2015-10-09 14:09:37 +03:00
parent 1feedb5c9e
commit 2c3d9b99c5

View File

@ -215,9 +215,9 @@ module Devops
roles
else
info = ""
info += " Project roles '#{roles[:new].join("', '")}' have been automaticaly created" unless roles[:new].empty?
info += " Project roles '#{roles[:exist].join("', '")}' weren't created because they exist" unless roles[:exist].empty?
info += " Project roles '#{roles[:error].join("', '")}' weren't created because of internal error" unless roles[:error].empty?
info += " Project roles '#{roles[:new].join("', '")}' have been automaticaly created" unless roles[:new].nil?
info += " Project roles '#{roles[:exist].join("', '")}' weren't created because they exist" unless roles[:exist].nil?
info += " Project roles '#{roles[:error].join("', '")}' weren't created because of internal error" unless roles[:error].nil?
info
end
end