diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-11-07 08:29:16 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-11-07 08:29:16 +0300 |
commit | 9c811566f85d18bc9eb4a85c6a343cf1bfa4fbd2 (patch) | |
tree | 0d5de6f22917fa5def4e8a9a918bf0bcd5f1d3e4 /app/models/environment_status.rb | |
parent | 4eeb51dc71062fa2eac828c6030388d354179efc (diff) |
Revert add action column changes
Diffstat (limited to 'app/models/environment_status.rb')
-rw-r--r-- | app/models/environment_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/environment_status.rb b/app/models/environment_status.rb index b33c4f2738d..76fd0241239 100644 --- a/app/models/environment_status.rb +++ b/app/models/environment_status.rb @@ -28,7 +28,7 @@ class EnvironmentStatus def deployment strong_memoize(:deployment) do - environment.deployments.start.find_by_sha(sha) + Deployment.where(environment: environment).find_by_sha(sha) end end |