diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-11-12 22:34:26 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-11-12 22:34:26 +0300 |
commit | 08ef7b9fe8595ab6695418108420f079dbd73694 (patch) | |
tree | 7623eca27a1a69193f5d4cc000230faabc8ed815 /app/models | |
parent | 7a98f0bdc00ae929708b588cc02714c4cd7f09ee (diff) |
Fix non-hacking way
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/concerns/deployable.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/concerns/deployable.rb b/app/models/concerns/deployable.rb index a1bec950665..85db01af18d 100644 --- a/app/models/concerns/deployable.rb +++ b/app/models/concerns/deployable.rb @@ -13,14 +13,13 @@ module Deployable name: expanded_environment_name ) - environment.deployments.create!( + create_deployment!( project_id: environment.project_id, environment: environment, ref: ref, tag: tag, sha: sha, user: user, - deployable: self, on_stop: on_stop) end end |