fixed roles response
This commit is contained in:
parent
1feedb5c9e
commit
2c3d9b99c5
@ -215,9 +215,9 @@ module Devops
|
|||||||
roles
|
roles
|
||||||
else
|
else
|
||||||
info = ""
|
info = ""
|
||||||
info += " Project roles '#{roles[:new].join("', '")}' have been automaticaly created" unless roles[:new].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].empty?
|
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].empty?
|
info += " Project roles '#{roles[:error].join("', '")}' weren't created because of internal error" unless roles[:error].nil?
|
||||||
info
|
info
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user