diff options
Diffstat (limited to 'app/models/environment_status.rb')
-rw-r--r-- | app/models/environment_status.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/environment_status.rb b/app/models/environment_status.rb index 2c71520cec1..1b3c094901b 100644 --- a/app/models/environment_status.rb +++ b/app/models/environment_status.rb @@ -33,6 +33,10 @@ class EnvironmentStatus end end + def has_metrics? + DeploymentMetrics.new(project, deployment).has_metrics? + end + def changes return [] if project.route_map_for(sha).nil? |