Commit db9ecc76 authored by Kamil Trzciński's avatar Kamil Trzciński

Do not reload self on hooks when creating deployment

parent b45a7cc0
...@@ -21,9 +21,7 @@ module Deployable ...@@ -21,9 +21,7 @@ module Deployable
sha: sha, sha: sha,
user: user, user: user,
deployable: self, deployable: self,
on_stop: on_stop).tap do |_| on_stop: on_stop)
self.reload # Reload relationships
end
end end
end end
end end
---
title: Do not reload self on hooks when creating deployment
merge_request:
author:
type: fixed
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