diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-02-02 23:06:13 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-02-02 23:06:13 +0100 |
commit | effb96b98511711fe8797f46fe1add68b968694f (patch) | |
tree | e39362d7f058b072b802fc57de8924619dd284de /app/helpers | |
parent | 40753029e40b9c2824648a966048595d36efc793 (diff) | |
download | gitlab-ce-effb96b98511711fe8797f46fe1add68b968694f.tar.gz |
Refactor AutoDevopsHelper.missing_auto_devops_domain?
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/auto_devops_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/auto_devops_helper.rb b/app/helpers/auto_devops_helper.rb index 4a7b7ff763b..16451993e93 100644 --- a/app/helpers/auto_devops_helper.rb +++ b/app/helpers/auto_devops_helper.rb @@ -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) |