Commit e5ee1d6a authored by Matija Čupić's avatar Matija Čupić

Build AutoDevops instead of using ProjectAutoDevops#new

parent e6487168
......@@ -1609,7 +1609,7 @@ class Project < ActiveRecord::Base
def auto_devops_variables
return [] unless auto_devops_enabled?
(auto_devops || ProjectAutoDevops.new)&.variables
(auto_devops || build_auto_devops)&.variables
end
def append_or_update_attribute(name, value)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment