diff options
Diffstat (limited to 'lib/gitlab/ci/pipeline/chain/ensure_environments.rb')
-rw-r--r-- | lib/gitlab/ci/pipeline/chain/ensure_environments.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/pipeline/chain/ensure_environments.rb b/lib/gitlab/ci/pipeline/chain/ensure_environments.rb index ebea6a538ef..3ff9aff68ac 100644 --- a/lib/gitlab/ci/pipeline/chain/ensure_environments.rb +++ b/lib/gitlab/ci/pipeline/chain/ensure_environments.rb @@ -16,7 +16,7 @@ module Gitlab private def ensure_environment(build) - ::Environments::CreateForBuildService.new.execute(build) + ::Environments::CreateForJobService.new.execute(build) end end end |