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
sha: sha,
user: user,
deployable: self,
on_stop: on_stop).tap do |_|
self.reload # Reload relationships
end
on_stop: on_stop)
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