Refactor AutoDevopsHelper.missing_auto_devops_domain?
This commit is contained in:
parent
40753029e4
commit
effb96b985
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ module AutoDevopsHelper
|
|||
private
|
||||
|
||||
def missing_auto_devops_domain?(project)
|
||||
!(project.auto_devops&.has_domain? || current_application_settings.auto_devops_domain.present?)
|
||||
!(project.auto_devops || project.build_auto_devops)&.has_domain?
|
||||
end
|
||||
|
||||
def missing_auto_devops_service?(project)
|
||||
|
|
Loading…
Reference in a new issue